cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
322
Views
0
Helpful
1
Replies

Redirect a range of ports through NAT on 1711

borisnajafov
Level 1
Level 1

I have configuration with one router 1711 connected to the internet and doing NAT for the LAN.

Fa0 of the router has public IP address and is given "ip nat outside"

Vlan1 of the router has private 192* type address and is used as a gateway for the LAN computers.

We have access-list with the internal range of our network (only one subnet) and a NAT pool with the address of our public Fa0 interface.

I am putting server in my network which will be listening for connections on the range of ports.

Now the range is 5001 till 5010.

In order to do static mappings i have issued 10 separate commands:

ip nat inside source static tcp <internal address> <internal port> <external address> <external port> extendable

Is there a way to use this command to redirect an interface range rather than issuing it 10 times. I anticipate that the range will be extended soon to have 200 ports there and i honestly do not want to configure 200 static entries.

Thanks.

1 Reply 1

lgijssel
Level 9
Level 9

Perhaps this feature offers a solution:

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a008041d8ad.html#wp1027258

The ports could be in an extended ACL.

regards,

Leo

Review Cisco Networking products for a $25 gift card