cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1796
Views
5
Helpful
3
Replies

ASA Outside Interface PAT

rohan.das
Level 1
Level 1

I have a query regarding a deployment scenario.

Can i map my internal web server from inside zone to outside interface ip address in such a way that global users will hit the public ip of firewall x.x.x.x:abcd and pat will translate it to private ip y.y.y.y:cdef . ??? will it work ??

If it works please explain the procedure.

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Yes you can do this. 

The procedure varies depending on which version of software you are running but assuming you are running 8.3 or later - 

object network webserver <-- use any name you like 
host <private IP>
nat (inside,outside) static interface service tcp cdef abcd

then you need to allow access in your acl applied to the outside interface eg. 

access-list <acl name> permit tcp any <private IP> cdef

if you already have an acl applied to the outside interface add the above line to it, if you don't then you need this additional command - 

access-group <acl name> in interface outside

that should do it. 

Jon

View solution in original post

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Yes you can do this. 

The procedure varies depending on which version of software you are running but assuming you are running 8.3 or later - 

object network webserver <-- use any name you like 
host <private IP>
nat (inside,outside) static interface service tcp cdef abcd

then you need to allow access in your acl applied to the outside interface eg. 

access-list <acl name> permit tcp any <private IP> cdef

if you already have an acl applied to the outside interface add the above line to it, if you don't then you need this additional command - 

access-group <acl name> in interface outside

that should do it. 

Jon

My ASA version 9.6

and  i tried

nat (inside,outside) source static <realsource-object> interface service <cdef-service-obj> <abcd-service-obj>

am using any any acl at this moment.

but it did not work ..

any suggestion please

It worked .. I was making a mistake with my nat policy order...Thanks Jon.

Review Cisco Networking for a $25 gift card