R3721-F3210-F3171-HP High-End Firewalls NAT and ALG Configuration Guide-6PW101

25
CAUTION:
The firewall supports using the interface address as the external address of an internal server, which is
the Easy IP feature. If you want to specify an interface, the interface must be a loopback interface and
must already exist.
If you configure an internal server usin
g
Easy IP but do not confi
g
ure an IP address for the interface, the
internal server configuration does not take effect.
Configuring DNS mapping
With DNS mapping, an internal host can access an internal server on the same private network by using
the domain name of the internal server when the DNS server resides on the public network.
To configure a DNS mapping:
Ste
p
Command
1. Enter system view.
system-view
2. Configure a DNS mapping.
nat dns-map domain domain-name protocol pro-type ip global-ip
port global-port
Displaying and maintaining NAT
Task Command
Remarks
Display information about NAT
address pools.
display nat address-group
[ group-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display all NAT configuration
information.
display nat all [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the NAT configuration
information.
display nat bound [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display DNS mapping configuration
information.
display nat dns-map [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display the internal server information.
display nat server [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display static NAT information.
display nat static [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display NAT statistics.
display nat statistics [ | { begin | exclude
| include } regular-expression ]
Available in any view