5-26
Cisco ASA Series Firewall CLI Configuration Guide
Chapter5 Configuring Twice NAT
Configuration Examples for Twice NAT
Step4 Configure the first twice NAT rule:
ciscoasa(config)# nat (inside,dmz) source dynamic myInsideNetwork PATaddress1 destination
static DMZnetwork1 DMZnetwork1
Because you do not want to translate the destination address, you need to configure identity NAT for it
by specifying the same address for the real and mapped destination addresses.
By default, the NAT rule is added to the end of section 1 of the NAT table, See the “Configuring Dynamic
PAT (Hide)” section on page5-11 for more information about specifying the section and line number for
the NAT rule.
Step5 Add a network object for the DMZ network 2:
ciscoasa(config)# object network DMZnetwork2
ciscoasa(config-network-object)# subnet 209.165.200.224 255.255.255.224
Step6 Add a network object for the PAT address:
ciscoasa(config)# object network PATaddress2
ciscoasa(config-network-object)# host 209.165.202.130
Step7 Configure the second twice NAT rule:
ciscoasa(config)# nat (inside,dmz) source dynamic myInsideNetwork PATaddress2 destination
static DMZnetwork2 DMZnetwork2