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

Direct Incoming Traffic on certain TCP port to specific server

MikeTomasko
Level 4
Level 4

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

Collin Clark
VIP Alumni
VIP Alumni

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

View solution in original post

1 Reply 1

Collin Clark
VIP Alumni
VIP Alumni

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