找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 36976|回复: 186

Tomato DualWAN 智能越狱

 火... [复制链接]
发表于 2012-5-3 22:02 | 显示全部楼层 |阅读模式
本帖最后由 trshan 于 2012-6-13 09:16 编辑

机型:中兴H618B
固件:Tomato DualWAN  版本 1.28.0542 MIPSR1 K26 USB 8M
已知: opt已经安装在USB介质(参考站点http://bbs.dualwan.cn/thread-203141-1-2.html
功能:无需pc端代理设置,自动根据预设规则越狱

用到软件:
goagen
python
pyopenssl
privoxy
步骤:

1.下载并安装GoAgent服务器端:【服务端安装在google远端自己账户中】
详见http://maolihui.com/goagent-detailed-version-of-the-tutorial.html,上传好GoAgent服务器端,记住自己的appid
2.拷贝GoAgent客户端到路由器
打开GoAgent目录下的local文件夹,把CA.crt、CA.key、proxy.py、proxy.ini以及certs整个文件夹上传到/opt/etc/goagent/目录下
打开proxy.ini,修改[listen]里ip = 0.0.0.0,[gae]里的appid改成自己的appid
3.安装python26和OpenSSL:
ipkg install python26
ipkg install openssl
ipkg install py26-openssl
4.安装privoxy
ipkg install privoxy
修改/opt/etc/privoxy/config文件,末尾添加:
listen-address  0.0.0.0:8118
actionsfile gfw.action
accept-intercepted-requests 1
5.上传gfw.action到/opt/etc/privoxy目录【下载地址】
6.路由器管理界面 usb应用中在挂载后运行脚本添加如下命令实现开机自动运行
/opt/sbin/privoxy --pidfile /var/run/privoxy.pid /opt/etc/privoxy/config
python2.6 /opt/etc/goagent/proxy.py
7.路由器管理界面,系统管理-当WAN联机中添加如下防火墙规则
iptables -t nat -I PREROUTING  -i br0 -p tcp  --dport 80 -j REDIRECT --to-ports 8118

参考文章:
https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=77166&reltid=75381&pre_pos=2&ext=

http://hi.baidu.com/stoneq/blog/item/38ff17f482a7ee4edcc47413.html

说明 :
1.goagen  python pyopenssl 安装后在浏览器设置代理为路由器ip,端口8087即可越狱。
2.privoxy可以在浏览器设置代理【路由ip,端口8118】使用http://www.privoxy.org/config/查看运行情况
3.防火墙作用是80端口转发8118【privoxy】,后根据gfw.action规则或使用原来网路或使用8087越狱【goagen】
4.自动越狱的同时不影响手动设置代理穿越。或使用8087端口或使用8118端口。
5.gfw.action文件可以自己修改。格式如下:
{+forward-override{forward 0.0.0.0:8087}}
.google.com.hk
.facebook.com
.google.com
.fbcdn.net
.gstatic.com
.gmail.com
.twitter.com
.youtube.com
文件中列出的网站将通过 0.0.0.0:8087的代理访问,其他则不走代理
6.手动设置浏览器时可以使用加载goagent.pac【goagent客户端文件包中】这个脚本实现浏览器智能穿越。
7.因固件差异可能需要运行 ipkg install iptables


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2012-5-3 23:24 | 显示全部楼层
收藏了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-3 23:38 | 显示全部楼层
{:soso_e113:}{:soso_e113:}{:soso_e113:}
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-3 23:45 | 显示全部楼层
发错版了吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 10:41 | 显示全部楼层
好东西,多谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 10:46 | 显示全部楼层
。。。。。。。。。。。。。。。。。。。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 14:43 | 显示全部楼层
支持,。、,、,。、
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 15:14 | 显示全部楼层
呵呵收藏一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 16:01 | 显示全部楼层

过来学习的了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 16:56 | 显示全部楼层
收下看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 17:13 | 显示全部楼层
虽然看不懂,感觉好厉害的样子
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 21:53 | 显示全部楼层
好帖必须顶起来。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 22:27 | 显示全部楼层

收藏了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-4 22:27 | 显示全部楼层
算法打哆嗦飞沙地发送颠覆萨大幅度sfdf
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-5-5 04:19 | 显示全部楼层

过来学习的了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-23 13:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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