I have a Cisco 857 router. I have an internal ip address to which I want to direct traffic from an external source.
The internal IP address is 192.168.2.50. Previously I have translated a single port to this address, I did this by adding a line to my access list:
access-list 101 permit tcp source_address destination_address eq 50000
and a NAT entry:
ip nat inside source static tcp 192.168.2.50 50000 interface Dialer0 50000
I now want to add a range of ports, so I added this line to my access list
access-list 101 permit tcp source_address destination_address range 50000 51000
Is there a way to add a range of ports to my NAT entry too?
Okay, I was able to set this up but it doesn't work. Using a route-map or ACL with range listed doesn't add it to the translation table. You're probably stuck with doing individual lines for each port that you want to translate.