134
Step Command Remarks
interface-number
6.
Configure inbound
dynamic NAT.
nat inbound
{
acl-number
|
name
acl-name
}
address-group
group-number
[
vpn-instance
vpn-instance-name
] [
no-pat
[
reversible
] [
add-route
] ]
By default, inbound dynamic NAT is
not configured.
You can configure multiple inbound
dynamic NAT rules on an interface.
Configuring NAT Server
To configure NAT Server, map a public IP address and port number to the private IP address and port
number of an internal server on the interface connected to the external network.
An internal server can be located in a common private network or a VPN instance. The NAT Server
feature supports VRF-aware NAT for external users to access the servers in a VPN instance. For
example, to enable a host at 10.110.1.1 in VPN 1 to provide Web services for Internet users,
configure NAT Server to use 202.110.10.20 as the public IP address of the Web server.
If you specify the
acl
keyword for the common NAT Server or load sharing NAT Server configuration,
only packets matching the ACL permit rule are translated. The match criteria include the source IP
address, source port number, destination IP address, destination port number, transport layer
protocol, and VPN instance.
Configuring common NAT Server
Step Command
Remarks
1.
Enter system
view.
system-view
N/A
2.
Enter interface
view.
interface
interface-type interface-number
N/A