Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

External address connecting to inside address through PAT

Guys,

Lets say I have three inside addresses 10.10.10.1, 10.10.10.2, and 10.10.10.3. All three of these addresses will be translated to an outside address of 5.128.1.1 and I have PAT set up. My destination address will an outside address of 12.1.1.1.

When 10.10.10.1 initiates a connection to 12.1.1.1 I see the translation of 10.10.10.1:80=5.128.1.1:8000.

From my outside host of 12.1.1.1 could I initiate a connection back to the inside host and map that connection to a different port? For example I am sitting on 12.1.1.1 and I want to ssh to my inside client of 10.10.10.1. From 12.1.1.1 I type ssh 5.128.1.1:8000. When the packet hits my NAT router, I want the NAT router to MAP that 5.128.1.1:8000, back into 10.10.10.1:22.

Is this possible?

1 REPLY
Hall of Fame Super Gold

Re: External address connecting to inside address through PAT

Sure.

ip nat inside source static tcp 10.10.10.1 22 interface 8000

163
Views
0
Helpful
1
Replies