[title]极路由3 安装ADBYBY教程[/title]
1、wget http://update.adbyby.com/download/7620n.tar.gz
或http://update.adbyby.com/download/ar71xx.tar.gz
2 tar -xzvf 7620n.tar.gz
3 cd bin
4 chmod 777 adbyby
5 ./adbyby&
6 iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8118
7 vi /etc/rc.local
光标移动到exit 0 前面,按i,回车,输入
/root/bin/adbyby&
按esc,输入:wq,回车
完成以后步骤后,输入
netstat -anp | grep adbyby
如果看到类似内容,就可以输入reboot重启路由器了
root@XiaoQiang:/# netstat -anp | grep adbyby
tcp 0 0 0.0.0.0:8118 0.0.0.0:* LISTEN 0 41496 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.163:63826 ESTABLISHED 126 48838 5280/adbyby
tcp 1 0 115.206.207.51:8641 122.226.183.192:80 CLOSE_WAIT 43375 3093 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.163:63228 ESTABLISHED 9476 26740 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.136:57174 ESTABLISHED 1657 73657 5280/adbyby
tcp 1 0 115.206.207.51:18617 14.215.138.114:80 CLOSE_WAIT 31605 3109 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.163:63812 ESTABLISHED 1525 84795 5280/adbyby
tcp 0 0 0.0.0.0:8118 0.0.0.0:* LISTEN 0 41496 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.163:63826 ESTABLISHED 126 48838 5280/adbyby
tcp 1 0 115.206.207.51:8641 122.226.183.192:80 CLOSE_WAIT 43375 3093 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.163:63228 ESTABLISHED 9476 26740 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.136:57174 ESTABLISHED 1657 73657 5280/adbyby
tcp 1 0 115.206.207.51:18617 14.215.138.114:80 CLOSE_WAIT 31605 3109 5280/adbyby
tcp 0 0 192.168.31.1:8118 192.168.31.163:63812 ESTABLISHED 1525 84795 5280/adbyby
文章评论