F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices NAT and ALG Command Reference-6PW100

42
nat444 outbound static
Use nat444 outbound static to enable static NAT444 on the outbound interface to make the IP-port
mappings take effect. The interface serves as the egress of an internal network to the external network.
Use undo nat444 outbound static to disable static NAT444 on the interface.
Syntax
nat444 outbound static
undo nat444 outbound static
Views
Interface view
Parameter
None
Usage guidelines
Only after you execute the nat444 outbound static command on an interface, packets from this interface
to an external network can match the static IP-port block mappings configured by the globally executed
command nat444 static local for NAT.
Examples
# Configure a NAT444 static IP port block for users from 192.168.1.1 to 192.168.1.100, and enable static
NAT444 on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] nat444 static local 192.168.1.1 192.168.1.100 global 202.1.1.1 202.1.1.2
port-range 10001 20000 block-size 200
[Sysname] interface gigabitethernet0/1
[Sysname-GigabitEthernet0/1] nat444 outbound static
Related commands
nat444 static local