cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
505
Views
0
Helpful
2
Replies

Port Application Mapping

pcromwell
Level 3
Level 3

I have a need on Cisco 2800 router IOS 12.4 (15) to map  an Remote desktop session to a different port number on a server.

A public ip address say 1.1.1.1 is static natted to an inside server at 2.2.2.2

A user on the outside will try to make a connection to 1.1.1.1 on standard RDP  port 3389. 

from my research, it appears I would need to do a command such as ip port-map. That uses a system default table of applications and their port numbers. Unfortunately RDP or its alternate name does not appear to be listed, nor the port number 3389. There is an option to create a user defined  application and port number but I have tried that (see below) with no success

 

access-list 1 permit ip 2.2.2.2

ip port-map tcp user-rdp 2.2.2.2 4000 list 1

 

any ideas how I can change a port number?

1 Accepted Solution

Accepted Solutions

You don't need any port-map. All you have to do is adjust your NAT-statement. It has to look like the following. With that a connection to 1.1.1.1 on port 3389 will land on the inside server 2.2.2.2 on port 33389.

ip nat inside source static tcp 2.2.2.2 33389 1.1.1.1 3389

 

View solution in original post

2 Replies 2

You don't need any port-map. All you have to do is adjust your NAT-statement. It has to look like the following. With that a connection to 1.1.1.1 on port 3389 will land on the inside server 2.2.2.2 on port 33389.

ip nat inside source static tcp 2.2.2.2 33389 1.1.1.1 3389

 

perfect, thanks Karsten

Review Cisco Networking for a $25 gift card