cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
581
Views
0
Helpful
3
Replies

ASA5505: NAT DMZ to non interface ip

jeffreymertz
Level 1
Level 1

I need to NAT the DMZ vlan to a non interface IP for internet access.

I was thinking of doing a static command

static (DMZ,outside) 192.168.1.1 1.2.3.4 255.255.255.255

or if I need to do a global nat?

global (DMZ) 2 <external IP>

nat (DMZ) 0 access-list NoVPN_NAT

nat (DMZ) 2 192.168.1.0 255.255.255.0

2 Accepted Solutions

Accepted Solutions

Hi,

If you want to NAT a host or network to allow internet access, you can use dynamic NAT (nat/global)

The static NAT is usually to allow inbound access like when you want to make a web server publicly available.

Hope it helps.


Federico.

View solution in original post

Yudong Wu
Level 7
Level 7

If the outside need to initiate traffic to dmz host, you need use the static NAT.

Otherwise, the following should work

global (OUTSIDE_Interface_name) 2

nat (DMZ) 0 access-list NoVPN_NAT

nat (DMZ) 2 192.168.1.0 255.255.255.0

View solution in original post

3 Replies 3

Hi,

If you want to NAT a host or network to allow internet access, you can use dynamic NAT (nat/global)

The static NAT is usually to allow inbound access like when you want to make a web server publicly available.

Hope it helps.


Federico.

Yudong Wu
Level 7
Level 7

If the outside need to initiate traffic to dmz host, you need use the static NAT.

Otherwise, the following should work

global (OUTSIDE_Interface_name) 2

nat (DMZ) 0 access-list NoVPN_NAT

nat (DMZ) 2 192.168.1.0 255.255.255.0

Thanks, I was pretty sure I was close, but didn't feel like testing on a production unit.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card