cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
312
Views
0
Helpful
1
Replies

External address connecting to inside address through PAT

jeffrobins
Level 1
Level 1

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 1

paolo bevilacqua
Hall of Fame
Hall of Fame

Sure.

ip nat inside source static tcp 10.10.10.1 22 interface 8000

Review Cisco Networking products for a $25 gift card