cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1037
Views
0
Helpful
7
Replies

How to redirect port

imranraheel
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

7 Replies 7

Collin Clark
VIP Alumni
VIP Alumni

ip nat inside source static tcp 192.168.13.100 3389 interface Dialer0 9833

HTH and please rate.

Can u explain this a bit what is Dialer0 and 9833

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.

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

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

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.

Thanks

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card