07-28-2007 05:33 AM - edited 03-03-2019 06:04 PM
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
07-28-2007 05:44 AM
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
07-28-2007 05:58 AM
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?
07-28-2007 06:38 AM
create access-list and enable
debug ip access-list number detail
don't forget enable ip route-cache flow on interface
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide