Does an AR support the mapping of consecutive port numbers

An AR supports the mapping of consecutive port numbers with restrictions: A public IP address can only be configured in the nat server command once. If it is configured in another nat server command, the system displays a message indicating that the previous configuration will be overwritten.


1. Create an ACL to match the ports to be mapped.
[Huawei] acl number 3001
[Huawei] rule 5 permit tcp destination-port range 1 4000


2. Configure a NAT server without specifying the internal and external port numbers, and reference ACL 3001.
[Huawei] interface GigabitEthernet0/0/1
[Huawei-GigabitEthernet0/0/1] nat server global 202.1.22.3 inside 192.168.2.22 acl 3001


This method completes the mapping of consecutive port numbers (intranet ports matching an ACL rule are mapped to the same ports on the public network) without the need to configure port mapping one by one using the nat server command.


202.1.22.3 inside 192.168.2.22 acl 3001

Other related questions:
Does an AR support load balancing when multiple ports are mapped to the intranet server
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top