找回密码
 注册

QQ登录

只需一步,快速开始

查看: 10735|回复: 11

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

[复制链接]
发表于 2007-1-22 23:30:11 | 显示全部楼层 |阅读模式
首先用kellson坛主开发的软件来打开520S的路由。具体如何打开请看:
http://www.516600.com/cgi-bin/lb5000/topic.cgi?forum=67&topic=16&start=0&show=0
打开了路由功能以后,要进行端口映射的,使用以下这一组命令:
telnet 192.168.1.1
输入猫的密码
接着输入以下这一组命令:
ip nat server load 1(载入第1个配置)
ip nat server edit 2(编辑第2个规则)
ip nat server edit 2 rulename emule(给规则起名叫emule)
ip nat server edit 2 active yes(规则激活)
ip nat server edit 2 svrport 1234 1236(映射端口到1234-1236)
ip nat server edit 2 forwardip 192.168.1.3(映射到内网的IP)
ip nat server save(保存)
发表于 2007-1-23 14:40:27 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

如果能够直接用WEB就爽了
发表于 2007-1-23 17:21:20 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

[这个贴子最后由大嘛在 2007/01/23 05:26pm 第 1 次编辑]

输入到这个 ip nat server edit 2 就提示
[-12002]please load brfore edit.
怎么办啊?
原来我刚先输入错了!现在没事了
发表于 2007-1-23 20:58:32 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

还是不能用啊!
 楼主| 发表于 2007-1-23 21:23:07 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

不能用也把情况说一下啊
发表于 2007-1-24 16:38:08 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

原来要将
ip nat server edit 2 svrport 1234 1236
改成
ip nat server edit 2 svrport 1234 1234
才能用的
发表于 2007-1-24 16:57:42 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

来看看某位高人的命令:
  1. sys bridge off
  2. sys routeip on
  3. set cpe bridge off
  4. set cpe iproute on
  5. wan atm vcpool clear
  6. set wan clear 0
  7. set wan clear 1
  8. set wan clear 2
  9. set wan clear 3
  10. set wan clear 4
  11. set wan clear 5
  12. set wan clear 6
  13. set wan clear 7
  14. set wan node 0 ADSL
  15. set wan disable
  16. set wan encap ppp
  17. set wan mux llc
  18. set wan vpi 8
  19. set vci 35
  20. set wan iproute
  21. set wan sua on
  22. set wan multicast none
  23. set wan wanip dynamic
  24. set wan rip none
  25. set wan ppp username XXXXXX
  26. set wan ppp password xxxxxx
  27. set wan ppp auth both
  28. set wan enable
  29. set wan save
  30. wan node index 1
  31. wan node disable
  32. wan node encap pppoe
  33. wan node ispname ADSL
  34. wan node service SZTELECOM
  35. wan node nat sua
  36. wan node qos ubr
  37. wan node pcr 0
  38. wan node mbs 0
  39. wan node ppp username XXXXXX
  40. wan node ppp password xxxxxx
  41. wan node ppp authen both
  42. wan node ppp idletime 0
  43. wan node callsch 0 0 0 0
  44. wan node nailedup on
  45. wan node enable
  46. wan node save
  47. lan index 1
  48. lan ipaddr 192.168.x.x 255.255.255.0
  49. lan rip none rip2b
  50. lan multicast none
  51. lan save
复制代码
lyf0745 该用户已被删除
发表于 2007-1-26 10:37:08 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2007-1-26 23:11:45 | 显示全部楼层

[推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!

下面引用由lyf07452007/01/26 10:37am 发表的内容:
对采用conexant芯片的HG520s有效吗?
lyf0745@21cn.com
楼上的可以试一下啊,我没有这种芯片的猫,没法试
发表于 2008-3-18 22:05:28 | 显示全部楼层
1234和1236是什么意思啊?
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-5-18 11:08 , Processed in 0.024342 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表