华为H3C AR18系列路由器很多功能都可以在WEB界面中进行配置,但是在WEB界面中的虚拟服务器配置里面,必须要填写需要映射的外部公网IP地址,如图:
由于ADSL拔号无固定公网IP,因此需要通过CLI配置如下命令实现虚拟服务器的功能:
在对应的拔号接口中:
interface Dialer0
nat server protocol tcp global current-interface any inside 192.168.1.100 any
nat server protocol udp global current-interface any inside 192.168.1.100 any