5-25
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 5 NAT Examples and Reference
DNS and NAT
Figure 5-20
DNS Reply Modification, DNS Server on Host Network
Procedure
Step 1
Create a network object for the FTP server.
hostname(config)#
object network FTP_SERVER
hostname(config-network-object)#
host 209.165.201.10
Step 2
Configure static NAT with DNS modification.
hostname(config-network-object)#
nat (outside,inside) static 10.1.2.56 dns
DNS64 Reply Modification Using Outside NAT
The following figure shows an FTP server and DNS server on the outside IPv4 network. The ASA has a
static translation for the outside server. In this case, when an inside IPv6 user requests the address for
ftp.cisco.com from the DNS server, the DNS server responds with the real address, 209.165.200.225.
Because you want inside users to use the mapped address for ftp.cisco.com (2001:DB8::D1A5:C8E1)
you need to configure DNS reply modification for the static translation. This example also includes a
static NAT translation for the DNS server, and a PAT rule for the inside IPv6 hosts.
ftp.ci
s
co.com
209.165.201.10
DN
S
S
erver
O
u
t
s
ide
In
s
ide
U
s
er
10.1.2.27
S
t
a
tic Tr
a
n
s
l
a
tion on In
s
ide to:
10.1.2.56
1
3
0022
1
2
7
6
5
4
3
DN
S
Q
u
ery
ftp.ci
s
co.com?
DN
S
Reply
209.165.201.10
DN
S
Reply Modific
a
tion
209.165.201.10
10.1.2.56
DN
S
Reply
10.1.2.56
FTP Re
qu
e
s
t
209.165.201.10
De
s
t Addr. Tr
a
n
s
l
a
tion
209.165.201.10
10.1.2.56
FTP Re
qu
e
s
t
10.1.2.56
S
ec
u
rity
Appli
a
nce
Содержание ASA 5512-X
Страница 5: ...P A R T 1 Service Policies and Access Control ...
Страница 6: ......
Страница 50: ...3 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 3 Access Rules History for Access Rules ...
Страница 51: ...P A R T 2 Network Address Translation ...
Страница 52: ......
Страница 126: ...5 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 5 NAT Examples and Reference DNS and NAT ...
Страница 127: ...P A R T 3 Application Inspection ...
Страница 128: ......
Страница 255: ...P A R T 4 Connection Settings and Quality of Service ...
Страница 256: ......
Страница 288: ...12 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 12 Quality of Service History for QoS ...
Страница 303: ...P A R T 5 Advanced Network Protection ...
Страница 304: ......
Страница 339: ...P A R T 6 ASA Modules ...
Страница 340: ......
Страница 398: ...17 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 17 ASA CX Module History for the ASA CX Module ...