How to redirect port

Answered Question
Feb 1st, 2007

I have a 871 router having few vpn's on it i have to redirect a port of remote desktop on it so ppl from outside can access my my system which is on the internal interface of router and my system has private ip on it

I have this problem too.
0 votes
Correct Answer by Collin Clark about 9 years 8 months ago

ip nat inside source static tcp . The outside IP is from the outside interface of the router or that subnet.

Example:

ip nat inside source static tcp 192.168.13.100 3389 interface 1.1.1.5 9833

From the outside a user would connect to 1.1.1.5:9833 in remote desktop. When it hits the router, the router will translate it to the the inside server 192.168.13.100 on port 3389.

HTH and please rate.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Collin Clark Thu, 02/01/2007 - 09:41

ip nat inside source static tcp 192.168.13.100 3389 interface Dialer0 9833

HTH and please rate.

Collin Clark Thu, 02/01/2007 - 09:49

Dialer0 is the 'outside' interface and 9833 is the port on the outside you want translated. Change them to fit your requirements.

From the outside you enter port 9833 in remote desktop and it would be translated to 3389 on the inside network.

HTH and please rate.

imranraheel Thu, 02/01/2007 - 10:03

Well do i replace Dialer0 with the IP of the external host i mean the other PC and if I am accessing it through remote desktop and want to access remote desktop do i use same ports on both sides

imranraheel Thu, 02/01/2007 - 10:04

Well do i replace Dialer0 with the IP of the external host i mean the other PC and if I am accessing it through remote desktop and want to access remote desktop do i use same ports on both sides

Correct Answer
Collin Clark Thu, 02/01/2007 - 10:14

ip nat inside source static tcp . The outside IP is from the outside interface of the router or that subnet.

Example:

ip nat inside source static tcp 192.168.13.100 3389 interface 1.1.1.5 9833

From the outside a user would connect to 1.1.1.5:9833 in remote desktop. When it hits the router, the router will translate it to the the inside server 192.168.13.100 on port 3389.

HTH and please rate.

Actions

This Discussion