asteroidman / wallproxy-plus

Automatically exported from code.google.com/p/wallproxy-plus
1 stars 0 forks source link

想请问在路由器中配置wallproxy为何不能成功? #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
我的路由器是TOMATO将wallproxy安装在U盘中运行
按照http://bbs.weiphone.com/read-htm-tid-5331244-page-1.html 
帖子第二种方式设置:
##################
安装wallproxy所需要的环境(标记有"命令:"的地方,复制进putty后�
��行,一条一条来)
1.进入opt目录:
命令: cd /opt
2.下载optware:
命令: wget http://bbs.dualwan.cn/downloads/optware/optware-install.sh -O - | 
tr -d '\r' >  optware-install.sh
3.安装optware
命令: sh optware-install.sh
4.更新一下optware和安装busybox:
命令: /opt/bin/ipkg update
命令: /opt/bin/ipkg install busybox
5.安装screen、python26和OpenSSL
命令: /opt/bin/ipkg install python26
命令: /opt/bin/ipkg install openssl
命令: /opt/bin/ipkg install py26-openssl 
ps:python26安装比较慢,大家耐心等待下
安装完成后,建立wallproxy文件夹
命令:cd /opt/etc
命令:mkdir wallproxy 

用PC方法的第一步,去下载最新版wallproxy,下回来修改proxy.ini文�
��, {listen}ip=0.0.0.0 
再修改写入你自己的ID,运行python.exe,必须先在PC上运行一次pyth
on.exe,因为需要生成一些文件

打开路由界面,高级设置-DHCP/DNS,贴入以下内容,保存
#YOUtube
address=/youtube.com/ytimg.com/203.208.46.178
address=/c.youtube.com/bbc.co.uk/111.111.111.111

打开路由界面,系统管理-脚本设置-防火q1an9 
贴入以下内容,保存

iptables -t nat -I PREROUTING  -i br0 -p tcp -d 111.111.111.111 --dport 80 -j 
REDIRECT --to-ports 8086
因为是在路由上,所以不需要再指定某个IP了
##############

按照这种方法可以访问youtube.com,但不能播放视屏... 
facebook等网站均不能访问 请教是哪方面问题呀?

Original issue reported on code.google.com by yangzhe1...@gmail.com on 14 Oct 2012 at 12:09

GoogleCodeExporter commented 9 years ago
是否要上传appid? 新手不是很懂..

Original comment by yangzhe1...@gmail.com on 14 Oct 2012 at 12:12

GoogleCodeExporter commented 9 years ago
如果[pac]file使用默认配置,应该转发给8087端口,
iptables -t nat -I PREROUTING  -i br0 -p tcp -d 111.111.111.111 --dport 80 -j 
REDIRECT --to-ports 8087
建议你按这里所述将智能代理关闭:
https://code.google.com/p/wallproxy-plus/issues/detail?id=145#c4
这种转发方式要求PC使用路由器做dns,你在PC上执行nslookup 
www.c.youtube.com看看得到的ip是不是111.111.111.111

Original comment by www.eh...@gmail.com on 14 Oct 2012 at 1:16

GoogleCodeExporter commented 9 years ago
哦,对了,上传appid是需要的,否则GAE无法生效,youtube.com能�
��开是因为相当于走的hosts,但是看视频需要GAE。

Original comment by www.eh...@gmail.com on 14 Oct 2012 at 1:18

GoogleCodeExporter commented 9 years ago
谢谢LZ的回复 我nslookup后得到的IP是111.111.111.111.
现在已经上传了自己的APPID~~汗一个..
但现在仍然不能看视屏~~~无限缓冲ing
Facebook依然不能登陆
端口已经改为8087~

Original comment by yangzhe1...@gmail.com on 14 Oct 2012 at 1:31

GoogleCodeExporter commented 9 years ago
现在PC上配好,测试appid无误后再把监听改为0.0.0.0弄到路由器
上
Facebook登录需要https的,用这种方式支持不了https,客户端必��
�显式设置代理

Original comment by www.eh...@gmail.com on 14 Oct 2012 at 2:16

GoogleCodeExporter commented 9 years ago
好的 我先在电脑上试一下

Original comment by yangzhe1...@gmail.com on 14 Oct 2012 at 2:21

GoogleCodeExporter commented 9 years ago
刚在电脑上使了 
一切良好....这就郁闷了~!~!~!youtube视屏直接看

Original comment by yangzhe1...@gmail.com on 14 Oct 2012 at 2:25

GoogleCodeExporter commented 9 years ago
那就试试在电脑/手机上把代理地址设为192.168.1.1:8086;这种方
式比iptables转发要靠谱,如果手机支持的话。

Original comment by www.eh...@gmail.com on 14 Oct 2012 at 2:35

GoogleCodeExporter commented 9 years ago
这样只需要在路由器上按电脑上的127.0.0.1的方式配置后填写��
�理么?

Original comment by yangzhe1...@gmail.com on 15 Oct 2012 at 2:04

GoogleCodeExporter commented 9 years ago
proxy.ini改ip为0.0.0.0,电脑上填路由器的ip,一般是192.168.1.1

Original comment by www.eh...@gmail.com on 17 Oct 2012 at 3:29

GoogleCodeExporter commented 9 years ago
Moved to: Issue wallproxy:201

Original comment by wwqgtxx on 2 Dec 2012 at 2:37