28-2
Cisco ASA 5500 Series Configuration Guide using ASDM
OL-20339-01
Chapter 28 Configuring Twice NAT
Prerequisites for Twice NAT
Prerequisites for Twice NAT
• For both the real and mapped addresses, configure network objects or network object groups.
Network object groups are particularly useful for creating a mapped address pool with discontinuous
IP address ranges or multiple hosts or subnets. To create a network object or group, see the
“Configuring Network Objects and Groups” section on page 13-1.
• For static NAT with port translation, configure TCP or UDP service objects. To create a service
object, see the “Configuring Service Objects and Service Groups” section on page 13-5.
For specific guidelines for objects and groups, see the configuration section for the NAT type you want
to configure. See also the “Guidelines and Limitations” section.
Guidelines and Limitations
This section includes the guidelines and limitations for this feature.
Context Mode Guidelines
Supported in single and multiple context mode.
Firewall Mode Guidelines
• Supported in routed and transparent firewall mode.
• In transparent mode, you must specify the real and mapped interfaces; you cannot use --Any--.
• In transparent mode, you cannot configure interface PAT, because the transparent mode interfaces
do not have IP addresses. You also cannot use the management IP address as a mapped address.
IPv6 Guidelines
Does not support IPv6.
Additional Guidelines
• If you change the NAT configuration, and you do not want to wait for existing translations to time
out before the new NAT information is used, you can clear the translation table using the clear xlate
command. However, clearing the translation table disconnects all current connections that use
translations.
Note If you remove a dynamic NAT or PAT rule, and then add a new rule with mapped addresses
that overlap the addresses in the removed rule, then the new rule will not be used until all
connections associated with the removed rule time out or are cleared using the clear xlate
command. This safeguard ensures that the same address is not assigned to multiple hosts.
• Objects and object groups used in NAT cannot be undefined; they must include IP addresses.
Model License Requirement
All models Base License.