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

Nat understanding

opnineopnine
Level 7
Level 7

Hi all.

 

I have the following nat configuration 

!

name 10.168.100.12 other
name 181.10.147.22 other_Public

!

1.- global (outside) 2 other_Public netmask 255.255.255.0
!
2.- access-list outside_access_in extended permit tcp any host other_Public eq www 
!
3.- static (inside,outside) tcp other_Public www other www netmask 255.255.255.255

!

I tried to access the ip 181.10.147.22, and it will open www to the ip 10.168.100.12. I see hitcnt on the acl

 

My question will be do I still need the global (outside) configuration? 

 

Thanks. 

1 Accepted Solution

Accepted Solutions

"static" is the command for static translations that can be used for outside->inside traffic. For that the global is not needed.

A global always corresponds to a "nat" statement for dynamic outgoing connections. You probably need that for all the other systems, but not for the mentioned connection.

More on NAT can be found in the config-guide.

--
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.

View solution in original post

1 Reply 1

"static" is the command for static translations that can be used for outside->inside traffic. For that the global is not needed.

A global always corresponds to a "nat" statement for dynamic outgoing connections. You probably need that for all the other systems, but not for the mentioned connection.

More on NAT can be found in the config-guide.

--
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.
Review Cisco Networking for a $25 gift card