千家论坛_弱电智能化技术与工程讨论(建筑智能,家居智能,人工智能)

路由交换
收藏本版 (7) |订阅

路由交换 今日: 3703 |主题: 18312|排名: 28 

发新帖
打印 上一主题 下一主题

请高手进来看看....

[复制链接]
alick 发布于: 2005-1-15 16:32 205 次浏览 1 位用户参与讨论
跳转到指定楼层

这两天配置了一台华为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]

回复

使用道具 举报

已有1人评论

新浪微博达人勋

千家认证

沙发
alick 发表于 2005-1-15 23:35:00
问题已解决!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆 千家通行证登陆

本版积分规则

千家智客微信号
千家智客微信
玩物说商城
玩物说商城