5-5
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 5 NAT Examples and Reference
Examples for Network Object NAT
Single Address for FTP, HTTP, and SMTP (Static NAT-with-Port-Translation)
The following static NAT-with-port-translation example provides a single address for remote users to
access FTP, HTTP, and SMTP. These servers are actually different devices on the real network, but for
each server, you can specify static NAT-with-port-translation rules that use the same mapped IP address,
but different ports.
Figure 5-4
Static NAT-with-Port-Translation
Procedure
Step 1
Create a network object for the FTP server and configure static NAT with port translation, mapping the
FTP port to itself.
hostname(config)#
object network FTP_SERVER
hostname(config-network-object)#
host 10.1.2.27
hostname(config-network-object)#
nat (inside,outside) static 209.165.201.3 service tcp ftp
ftp
Step 2
Create a network object for the HTTP server and configure static NAT with port translation, mapping
the HTTP port to itself.
hostname(config)#
object network HTTP_SERVER
hostname(config-network-object)#
host 10.1.2.28
hostname(config-network-object)#
nat (inside,outside) static 209.165.201.3 service tcp
http http
Step 3
Create a network object for the SMTP server and configure static NAT with port translation, mapping
the SMTP port to itself.
Ho
s
t
O
u
t
s
ide
In
s
ide
Undo Tr
a
n
s
l
a
tion
10.1.2.27
209.165.201.
3
:21
Undo Tr
a
n
s
l
a
tion
10.1.2.28
209.165.201.
3
:80
Undo Tr
a
n
s
l
a
tion
10.1.2.29
209.165.201.
3
:25
FTP
s
erver
10.1.2.27
HTTP
s
erver
10.1.2.28
S
MTP
s
erver
10.1.2.29
1
3
00
3
1
Содержание 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 ...