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

Static NAT with Port Address Translation

reseauiq2010
Level 1
Level 1

Hi all!

I have static IP (outside). Let's say it is 69.70.90.90.

I want to map https://69.70.90.90:8080 to internal https://192.168.1.2:443

But it doesn't seems to woks. How I do this?

2 Replies 2

Jitendriya Athavale
Cisco Employee
Cisco Employee

this is what you need if you are running 8.2 and prior

static (inside,outside) tcp 69.70.90.90 8080 192.168.1.2 443

so basically the first field is translated and second is real

Nagaraja Thanthry
Cisco Employee
Cisco Employee

Hello,

Please try the following:

static (inside,outside) tcp 69.70.90.90 8080 192.l68.1.2 443 netmask

255.255.255.255

access-list outside_access_in permit tcp any host 69.70.90.90 eq 8080

access-group outside_access_in in interface outside

If you already have an access-list, then you can append that access-list

with the new line. Also, if 69.70.90.90 is the interface IP address, you

need to use the "interface" keyword instead of the address.

static (inside,outside) tcp interface 8080 192.l68.1.2 443 netmask

255.255.255.255

access-list outside_access_in permit tcp any interface outside eq 8080

Hope this helps.

Regards,

NT

Review Cisco Networking for a $25 gift card