Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Port forwarding

Hi, i am using cisco 2500 running ios v 12. I need to know how i can do forwarding based on port. ie:

connections to 1.2.3.4:80 are to be forwarded over to 10.10.10.10:333

I was told to read on port triggering, but could not find any relevant info using google searches. Anyone have a link for me to read? Any examples?

1 REPLY
Purple

Re: Port forwarding

Hi,

You have to use port static NAT (network address translation) to achieve this. The following example shows how to do it:

interface Ethernet0 ! interface through which 10.10.10.10 can be reached

ip nat inside

!

interface Serial0 ! interface through which the packets to 1.2.3.4 will come in

ip nat outside

!

ip nat inside source static tcp 10.10.10.10 333 1.2.3.4 80

There are more details on configuring NAT here:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiad_c/ch20/ntbaddrs.htm

Hope that helps - pls rate the post if it does.

Paresh

111
Views
0
Helpful
1
Replies
CreatePlease to create content