Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

Direct Incoming Traffic on certain TCP port to specific server

I have a Cisco 2621XM Router running IOS version 12.3(16). The router has 2 ethernet interfaces. 1 is connected to a cable modem and the other is connected to the internal LAN switch. I am trying to setup the router to forward packets coming in on a certain TCP port to a certain server. VNC is what I'm trying to use.

For example: Anything coming in on TCP port 5959 from the cable internet should go to 172.16.0.17 port 5959.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Direct Incoming Traffic on certain TCP port to specific serv

Assuming you have NAT turned on and Ethernet0 is your outside interface here's an example.

ip nat inside source static tcp 172.16.0.17 5959 interface Ethernet0 5959

1 REPLY

Re: Direct Incoming Traffic on certain TCP port to specific serv

Assuming you have NAT turned on and Ethernet0 is your outside interface here's an example.

ip nat inside source static tcp 172.16.0.17 5959 interface Ethernet0 5959

433
Views
0
Helpful
1
Replies