135
Step Command Remarks
3. Configure one or
more common
NAT Server
mappings.
• A single public address with a single or no public port:
nat server protocol pro-type global { global-address
| current-interface | interface interface-type
interface-number } [ global-port ] [ vpn-instance
global-name ] inside local-address [ local-port ]
[ vpn-instance local-name ] [ acl { acl-number | name
acl-name } ]
• A single public address with consecutive public ports:
nat server protocol pro-type global { global-address
| current-interface | interface interface-type
interface-number } global-port1 global-port2
[ vpn-instance global-name ] inside { { local-address
| local-address1 local-address2 } local-port |
local-address local-port1 local-port2 } [ vpn-instance
local-name ] [ acl { acl-number | name acl-name } ]
•
Consecutive public addresses with a single or no
public port:
nat server protocol pro-type global global-address1
global-address2 [ global-port ] [ vpn-instance
global-name ] inside { local-address | local-address1
local-address2 } [ local-port ] [ vpn-instance
local-name ] [ acl { acl-number | name acl-name } ]
• Consecutive public addresses with a single public
port:
nat server protocol pro-type global global-address1
global-address2 global-port [ vpn-instance
global-name ] inside local-address local-port1
local-port2 [ vpn-instance local-name ] [ acl
{ acl-number | name acl-name } ]
By default, no NAT
Server mapping
exists.
You can configure
multiple NAT Server
mappings on an
interface.
Configuring load sharing NAT Server
You can add multiple internal servers to an internal server group so that these servers provide the
same service for external hosts. The NAT device chooses one internal server based on the weight
and number of connections of the servers to respond to a request from an external host to the public
address of the internal server group.
To configure load sharing NAT Server:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Configure a NAT Server
group and enter its view.
nat server-group
group-number
By default, no NAT
Server group exists.
3. Add an internal server
into the group.
inside ip
inside-ip
port
port-number [
weight
weight-value ]
By default, no internal
server is in the group.
You can add multiple
internal servers to a
group.
4. Return to system view.
quit
N/A
5. Enter interface view.
interface
interface-type interface-number
N/A