这两天配置了一台华为2621路由器,设置好端口映射后无法访问内部服务器。 配置如下: interface Ethernet0 ip address 1.2.3.4[此地址为假设] 255.255.255.252 nat outbound 2000 interface nat server global 1.2.3.4 www inside 192.168.0.20 www tcp nat server global 1.2.3.4 ftp inside 192.168.0.20 ftp tcp 请问问题出在哪里?? 下面是使用dis cu命令后的结果: [Router]dis cu Now create configuration... Current configuration ! version 1.74 local-user xxxx service-type administrator password cipher 9#]]X,&R">a-JEXJQQ!! firewall enable aaa-enable aaa accounting-scheme optional ! acl 2000 match-order auto rule normal permit source 192.168.0.0 0.0.0.255 rule normal deny source any ! interface Aux0 async mode flow link-protocol ppp ! interface Ethernet0 ip address 1.2.3.4[假设] 255.255.255.252 nat outbound 2000 interface nat server global 1.2.3.4[假设] www inside 192.168.0.20 www tcp nat server global 1.2.3.4[假设] ftp inside 192.168.0.2 ftp tcp ! interface Ethernet1 ip address 192.168.0.19 255.255.255.0 ! interface Serial0 link-protocol ppp ! interface Serial1 link-protocol ppp ! quit ip route-static 0.0.0.0 0.0.0.0 1.2.3.5[此IP是上面提到的IP的下一个地址] preference 60 ! return
[Router]
欢迎光临 千家论坛_智能建筑与智能家居技术交流社区 (http://bbs.qianjia.com/) | Powered by Discuz! X3.2 |