Huawei Example LoopBack NAT Configuration

sysname XXXX-YYYY-ZZZZ-RT
#
acl number 2000
rule 5 permit source 192.168.1.0 0.0.0.255
#
dhcp enable
#
dhcp server group LAN
#
ip pool LAN
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
dns-list 8.8.8.8 8.8.4.4
#
interface Vlanif1
ip address 192.168.1.1 255.255.255.0
dhcp select global
#
interface LoopBack0
ip address WAN IP 255.255.255.255
#
interface GigabitEthernet0/0/4
ip address IP 255.255.255.252
nat outbound 2000 interface LoopBack 0
#
ip route-static 0.0.0.0 0.0.0.0 GATEWAY IP


Config Assistant Homepage