
5-11
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 5 NAT Examples and Reference
Routing NAT Packets
Figure 5-9
NAT Example: Transparent Mode
1.
When the inside host at 10.1.1.75 sends a packet to a web server, the real source address of the
packet, 10.1.1.75, is changed to a mapped address, 209.165.201.15.
2.
When the server responds, it sends the response to the mapped address, 209.165.201.15, and the
ASA receives the packet because the upstream router includes this mapped network in a static route
directed to the ASA management IP address. See
Mapped Addresses and Routing, page 5-12
for
more information about required routes.
3.
The ASA then undoes the translation of the mapped address, 209.165.201.15, back to the real
address, 10.1.1.1.75. Because the real address is directly-connected, the ASA sends it directly to the
host.
4.
For host 192.168.1.2, the same process occurs, except for returning traffic, the ASA looks up the
route in its routing table and sends the packet to the downstream router at 10.1.1.3 based on the ASA
static route for 192.168.1.0/24. See
Transparent Mode Routing Requirements for Remote Networks,
for more information about required routes.
Routing NAT Packets
The ASA needs to be the destination for any packets sent to the mapped address. The ASA also needs to
determine the egress interface for any packets it receives destined for mapped addresses. This section
describes how the ASA handles accepting and delivering packets with NAT.
•
Mapped Addresses and Routing, page 5-12
M
a
n
a
gement IP
10.1.1.1
www.ex
a
mple.com
10.1.1.2
Internet
S
o
u
rce Addr Tr
a
n
s
l
a
tion
209.165.201.10
192.168.1.2
S
o
u
rce Addr Tr
a
n
s
l
a
tion
209.165.201.15
10.1.1.75
A
S
A
10.1.1.75
10.1.1.
3
192.16
8
.1.1
192.16
8
.1.2
Network 2
S
t
a
tic ro
u
te on ro
u
ter:
209.165.201.0/27 to 10.1.1.1
S
t
a
tic ro
u
te on A
S
A:
192.16
8
.1.0/24 to 10.1.1.
3
250261
Summary of Contents for ASA 5512-X
Page 5: ...P A R T 1 Service Policies and Access Control ...
Page 6: ......
Page 51: ...P A R T 2 Network Address Translation ...
Page 52: ......
Page 127: ...P A R T 3 Application Inspection ...
Page 128: ......
Page 255: ...P A R T 4 Connection Settings and Quality of Service ...
Page 256: ......
Page 303: ...P A R T 5 Advanced Network Protection ...
Page 304: ......
Page 339: ...P A R T 6 ASA Modules ...
Page 340: ......