Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP Port Forwarding Range on Cisco 2514.

Status
Not open for further replies.

andrew4728

Technical User
Joined
Jul 6, 2004
Messages
61
Location
US
Hey all, this seems like it would be a very easy thing to do, but I cannot figure this one out!

I have read several webpages from Ciscos website concerning NAT translation, and also searched google and yahoo and still cannot find the answer to my question.

I am trying to setup port forwarding for a RANGE of TCP ports.

I know that the following command will forward an individual port (3389) to an inside computer :

ip nat inside source static tcp 192.168.x.x 3389 interface Ethernet0 3389

I am trying to forward TCP 6881-6999 to goto one of my PCs inside my network.

Could anyone help me with this one or point me to a webpage that shows how to forward RANGEs?

Thank you all!

Andrew
 
You can do a NAT translation at the network (IP) level (not TCP or UDP) and then create an ACL to only allow the specific ports, but I don't think there is a way to do a range with NAT.

ip nat inside source static x.x.x.x y.y.y.y

access-list 100 permit tcp any any range 6881 6999

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top