F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices NAT and ALG Command Reference-6PW100
22
Default command level
2: System level
Parameters
acl-number: Number of an ACL, in the range of 2000 to 3999. You can use an ACL to control the access
traffic between internal and external hosts. Only hosts permitted by an ACL can be performed static NAT.
local-network: Internal network address.
vpn-instance local-name: Specifies the VPN to which the internal network belongs. The local-name
argument is a case-sensitive string of 1 to 31 characters. Without this option, the internal network does
not belong to any VPN.
global-network: External network address.
vpn-instance global-name: Specifies the VPN to which the external network belongs. The global-name
argument is a case-sensitive string of 1 to 31 characters. Without this option, the external network does
not belong to any VPN.
mask-length: Length of the network mask.
mask: Network mask.
Examples
# Configure a net-to-net static NAT mapping: Internal network address is 192.168.1.0/24 that belongs to
VPN vpn10, and public network address is 10.1.1.0/24 that belongs to VPN vpn 20.
<Sysname> system-view
[Sysname] nat static net-to-net 192.168.1.0 vpn-instance vpn10 10.1.1.0 24 vpn-instance
vpn20
Related commands
display nat static