roman 发表于 2007-1-22 23:30:11

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

首先用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(保存)

iloveqinqin 发表于 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的路由设置,并可进行端口映射!!!

还是不能用啊!

roman 发表于 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
才能用的

axiao0105 发表于 2007-1-24 16:57:42

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

来看看某位高人的命令:

sys bridge off
sys routeip on
set cpe bridge off
set cpe iproute on
wan atm vcpool clear
set wan clear 0
set wan clear 1
set wan clear 2
set wan clear 3
set wan clear 4
set wan clear 5
set wan clear 6
set wan clear 7
set wan node 0 ADSL
set wan disable
set wan encap ppp
set wan mux llc
set wan vpi 8
set vci 35
set wan iproute
set wan sua on
set wan multicast none
set wan wanip dynamic
set wan rip none
set wan ppp username XXXXXX
set wan ppp password xxxxxx
set wan ppp auth both
set wan enable
set wan save
wan node index 1
wan node disable
wan node encap pppoe
wan node ispname ADSL
wan node service SZTELECOM
wan node nat sua
wan node qos ubr
wan node pcr 0
wan node mbs 0
wan node ppp username XXXXXX
wan node ppp password xxxxxx
wan node ppp authen both
wan node ppp idletime 0
wan node callsch 0 0 0 0
wan node nailedup on
wan node enable
wan node save
lan index 1
lan ipaddr 192.168.x.x 255.255.255.0
lan rip none rip2b
lan multicast none
lan save

lyf0745 发表于 2007-1-26 10:37:08

roman 发表于 2007-1-26 23:11:45

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

下面引用由lyf0745在 2007/01/26 10:37am 发表的内容:
对采用conexant芯片的HG520s有效吗?
[email protected]

楼上的可以试一下啊,我没有这种芯片的猫,没法试

cnhanhan 发表于 2008-3-18 22:05:28

1234和1236是什么意思啊?
页: [1] 2
查看完整版本: [推荐]搞掂了HG520s的路由设置,并可进行端口映射!!!