1 [Huawei-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255 #配置acl内网规则 2 [Huawei-GigabitEthernet0/0/0]nat outbound 2000 #接口应用acl 3 [Huawei]ip route-static 0.0.0.0 0.0.0.0 10.1.1.1 #配置静态路由 4 # 5 interface GigabitEthernet0/0/0 6 ip address 10.1.1.100 255.255.255.0 7 nat outbound 2000 8 #
1 interface GigabitEthernet0/0/0 2 ip address 10.1.1.108 255.255.255.0 3 nat server protocol tcp global current-interface ftp inside 192.168.1.2 ftp 4 nat server protocol tcp global current-interface 9007 inside 192.168.1.2 www 5 nat outbound 2000
原文:https://www.cnblogs.com/cj1698/p/13922593.html