cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
823
Views
10
Helpful
6
Replies

ASA static NAT source IP

Karam Hanna
Level 1
Level 1

hello Experts,

i have ASA transparent mode with code version 8.2.x  , i am trying to static NAT source IP for packet going from inside to outside interface "real source 1.1.1.1 and NAT source is 2.2.2.2", is the following statement correct?

static (outside,inside) 1.1.1.1 2.2.2.2 netmask 255.255.255.255

also do i need to add route on the firewall for 2.2.2.2 that points to inside?

thanks in advance for your help

2 Accepted Solutions

Accepted Solutions

Hi,

can it be done like this as well

static (Inside,ouside) 1.1.1.1 1.1.1.1

If i wish to use real ip inside address for the outside as well?

View solution in original post

Hello Surya,

Exactly you can do it like that as well,

With that setup you will keep the same IP you are using on the inside,

Regards

Remember to rate all of the helpful posts, that is as important as a thanks

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

View solution in original post

6 Replies 6

Julio Carvajal
VIP Alumni
VIP Alumni

Hello KaraM

Do it like this:

static (Inside,ouside) 2.2.2.2 1.1.1.1

In this case you will nat the inside source to that outside Ip address

No need for a route

Regards,

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

thanks Jcarvaja, i will apply it and test

Hello,

Sure, my pleasure

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

Hi,

can it be done like this as well

static (Inside,ouside) 1.1.1.1 1.1.1.1

If i wish to use real ip inside address for the outside as well?

Hello,

No need to add 2.2.2.2,

static (Inside,ouside) 1.1.1.1 1.1.1.1 ; this is a static identity nat,  you can use this configuration

Regards,

Hello Surya,

Exactly you can do it like that as well,

With that setup you will keep the same IP you are using on the inside,

Regards

Remember to rate all of the helpful posts, that is as important as a thanks

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
Review Cisco Networking products for a $25 gift card