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

PAT with NAT for inbound connections query

anup.patel
Level 1
Level 1

Hi,

Router : 877W & 857

IOS : 12.3(8)YI2 & 12.3(8)YI3

I'm new to IOS, so I may be asking something that has been documented, however I cannot find it, so......

Can anyone confirm if its possible to perforn a NAT and PAT for inbound connections at the same time? If so, a pointer to the doc's or command would be helpful.

Basically I want to be able to RDP to multiple machines using a different port number, but not have to change the recieving systems default port number.

For example:

Global Address1:33101 --> Inside Address10:3389

Global Address1:33102 --> Inside Address20:3389

Global Address2:33101 --> Inside Address100:3389

Global Address2:33102 --> Inside Address200:3389

Thanks in advance.

Anup

2 Replies 2

tekha
Level 3
Level 3

Try this:

ip nat inside source static tcp Inside-Address.10 3389 Global-Address.1 33101 extendable

ip nat inside source static tcp Inside-Address.20 3389 Global-Address.1 33102 extendable

ip nat inside source static tcp Inside-Address.100 3389 Global-Address.2 33101 extendable

ip nat inside source static tcp Inside-Address.200 3389 Global-Address.1 33102 extendable

Hello Tekha,

Thank you very much for the fast response & commands. I had tried something similar, but I must have made mistakes, since IOS kept responding with a message stating that the port 3389 was already being used. I got no such message with your commands. I will verify functionality and advise accordingly.

Once again thanks.

Anup

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