How do I configure the AR router to map multiple public IP addresses to private IP addresses of internal servers

A Huawei AR router can use NAT to configure the mapping between public IP addresses and internal IP addresses.
1. Configure the mapping between the public network address and internal network address of the same network segment on the same interface.
[Huawei] interface GigabitEthernet2/0/0
[Huawei-GigabitEthernet2/0/0] nat server protocol tcp global 202.10.1.3 www inside 192.168.0.100 8080
[Huawei-GigabitEthernet2/0/0] nat server protocol tcp global 202.10.1.5 www inside 192.168.0.100 8090
[Huawei-GigabitEthernet2/0/0] quit

2. Configure the mapping between addresses of different segments and internal network address on different interfaces.
[Huawei] interface GigabitEthernet2/0/0
[Huawei-GigabitEthernet2/0/0] nat server protocol tcp global 201.10.1.3 www inside 192.168.0.100 8080
[Huawei-GigabitEthernet2/0/0] quit
[Huawei] interface GigabitEthernet3/0/0
[Huawei-GigabitEthernet3/0/0] nat server protocol tcp global 202.20.1.5 www inside 192.168.0.100 8080
[Huawei-GigabitEthernet3/0/0] quit

Scroll to top