External address connecting to inside address through PAT

Unanswered Question
Feb 24th, 2010
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
paolo bevilacqua Wed, 02/24/2010 - 09:28
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Sure.

ip nat inside source static tcp 10.10.10.1 22 interface 8000

Actions

This Discussion