nat port-range forwarding

Unanswered Question
Jul 28th, 2007

Hi All

I'm trying to find a way to forward a range of ports through my nat.

I know how to forward individual ports with command like :

ip nat inside source static tcp 192.168.4.8 1723 interface Dialer0 1723

but how can I forward a range or ports?

I'm using an 857.

Thanks in advance

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
nikolay-shopik Sat, 07/28/2007 - 05:44

Here is example how you can acomplish such thing.

ip nat pool ms-exchange 192.168.1.100 192.168.1.100 netmask 255.255.255.0 type rotary

ip nat inside destination list 150 pool ms-exchange

access-list 150 permit tcp any any range 49521 65535

anthonyfear Sat, 07/28/2007 - 05:58

thanks for that - I still can't get ti working but that might be because i have the wrong port range.

Is there a way i can see what incoming traffic is trying to get through? So I can identify the correct ports?

nikolay-shopik Sat, 07/28/2007 - 06:38

create access-list and enable

debug ip access-list number detail

don't forget enable ip route-cache flow on interface

Actions

This Discussion