Can the AR router implement one-to-one mapping of multiple port numbers?

15

AR router can configure NAT static and NAT port to achieve one to one mapping.
For example: NAT server TCP global 1.1.1.2 21 inside 10.3.0.30 21 server.

Other related questions:
Can the AR router implement one-to-one mapping between multiple port numbers
The AR router can be configured with static NAT or the NAT server to implement one-to-one mapping, for example, nat server protocol tcp global 1.1.1.2 21 inside 10.3.0.30 21.

Can packets on multiple interfaces be mirrored to one observing port on AR routers and how many interfaces can be mirrored
Multiple interfaces can be mirrored to one observing port on AR routers. There is no limit for the number of interfaces that can be mirrored to one observing port. You need to consider whether actual traffic of the observing port is larger than its forwarding capacity, that is, whether the actual traffic is larger than the maximum bandwidth of the observing port.

Method used to configure static NAT on the AR
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.

How to implement port mapping on an AR router
Run the port-mapping command on an AR router to configure port mapping based on basic ACLs (number 2000 to 2999). Port mapping is implemented after packets match an ACL rule. To filter packets based on the ACLs, port mapping tries to match the destination IP addresses in the packets with the IP addresses defined in the basic ACL rules.
Example:
# Set the mapping port of the HTTP service to 10. If packets comply with the rules defined in the ACL 2000, the mapping relationship takes effect.
system-view
[Huawei] acl 2000
[Huawei-acl-basic-2000] rule permit
[Huawei-acl-basic-2000] quit
[Huawei] port-mapping http port 10 acl 2000


What is the difference between NAT server and static NAT
The difference between the NAT server and static NAT is as follows: The NAT server changes only the address but not the port number when an internal device accesses the external network. The device enabled with static NAT changes the IP address and port number when an internal device accesses the external network.

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