Method used to configure static NAT on the AR

7

Huawei AR routers support static NAT. Use either of the following methods to configure static NAT:

Method 1: Configure static mapping in the interface view.
Translate the combination of the public IP address 202.10.10.1 and port 200 in TCP packets to the combination of the private IP address 10.10.10.1 and port 300.
[Huawei] interface gigabitethernet 1/0/0
[Huawei-GigabitEthernet1/0/0] nat static protocol tcp global 202.10.10.1 200 inside 10.10.10.1 300

Method 2: Configure static mapping in the system view.
Translate the combination of Loopback 4 interface address and port 43 in TCP packets to private address 192.168.2.55.
[Huawei] nat static protocol tcp global interface loopback 4 43 inside 192.168.2.55 netmask 255.255.255.255


For details on the static NAT configuration, see "NAT Configuration->Configuring NAT->Configuring Static NAT" in Configuration Guide - IP Service.

Other related questions:
Method used to configure NAT and DHCP on the AR
Huawei AR series routers support DHCP and NAT so that users can dynamically obtain IP addresses and access the Internet. This function applies to all versions and models of the AR.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top