[ Last edited by shifuquan on 2006-11-19 at 08:40 PM ]作者: 3742668 时间: 2006-11-20 13:16 如楼上各位所说,你的问题关键在于端口映射,这个需要在你的路由上设置,或者下载个类似“花生壳”之类的东东来解决。
至于路由的设置,如果你的路由器采用的是viking的fw,可以参考[附录]的一些内容。不过你说你新买的路由器,我想可能不会是采用viking的fw的。 附录:
部分Telnet命令:(主要针对是Vinking系列芯片)
MAC地址列表清除:
运行CMD,输入arp -d回车
备份FW:
tftp -i 192.168.1.1 get TEimage.bin
升级FW:
tftp -i 192.168.1.1 put TEimage.bin
TELNET的方法设置:
登陆端口设置
modify nbsize httpport <decvalue>
modify nbsize telnetport <decvalue>
modify nbsize ftpport <decvalue
关闭SNMP
modify snmp trap disable
如果这样关闭不彻底,用扫描器仍能发现SNMP漏洞,最好加上下面两句:
$delete snmp comm community private
$delete snmp comm community public
telnet控制台修改MTU值:
modify ppp intf ifname ppp-0 mtu 1480
ifconfig eth0 mtu 14xx (Linux Shell)
设置VPI和VCI值(由ADSL运营商提供,假设:VPI为0,VCI为 33)
add interface atmpvc
set interface atmpvc0 vpi 0
set interface atmpvc0 vci 33
指定线路模式(假设为 2:G.dmt)
set interface adsl standard 2
设置封装类型(5为PPPOE)
set interface atmpvc0 encap 5
设置拨号时的用户名和密码(由ADSL运营商提供,假设:用户名为adsl,密码
为adsl)
set interface atmpvc0 user adsl
set interface atmpvc0 password adsl
开启NAT(网络地址转换)
set interface atmpvc0 nat on
关闭桥方式
set interface atmpvc0 bridge off
set bridge off