150
Step Command Remarks
6. Configure load sharing
NAT Server.
nat server protocol
pro-type
global
{ { global-address
|
current-interface
|
interface
interface-type
interface-number
}
{
global-port
| global-port1 global-port2
}
|
global-address1 global-address2 global-port
}
[
vpn-instance
global-vpn-instance-name ]
inside server-group
group-id
[
vpn-instance
local-vpn-instance-name
] [
acl
{ ipv4-acl-number |
name
ipv4-acl-name }
]
[
disable
]
By default, no load
sharing NAT Server
mappings exist.
You can configure
multiple load sharing
NAT Server mappings on
an interface.
Configuring ACL-based NAT Server
ACL-based NAT Server is an extension of common NAT Server. Common NAT Server maps the
private IP address of the internal server to a single public IP address. ACL-based NAT Server maps
the private IP address of the internal server to a set of public IP addresses defined by an ACL. If the
destination address of a packet matches a permit rule, the destination address is translated into the
private IP address of the internal server.
To configure ACL-based NAT Server:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type interface-number N/A
3. Configure ACL-based
NAT Server.
nat server global
{ ipv4-acl-number |
name
ipv4-acl-name }
inside
local-address
[ local-port ] [
vpn-instance
local-vpn-instance-name ] [
disable
]
By default, no ACL-based
NAT Server mappings exist.
You can configure multiple
NAT Server mappings on an
interface.
Configuring NAT444
NAT444 provides outbound address translation, and it is configured on the interface connected to
the public network.
Configuring static NAT444
Static NAT444 is applicable when the private IP addresses are fixed.
To configure static NAT444:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Create a NAT port block
group, and enter its view.
nat port-block-group
group-id
By default, no port block groups exist.