google-code-export / snova

Automatically exported from code.google.com/p/snova
1 stars 4 forks source link

3个监听端口,浏览器上如何设置 #254

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
0.19.3版监听3个端口,那么在浏览器上如何设置?

比如chrome+proxy SwitchySharp+gsnova,在proxy SwitchySharp上如何设置

Original issue reported on code.google.com by bothsp...@gmail.com on 10 Dec 2012 at 1:08

GoogleCodeExporter commented 9 years ago
不一定是三个, 2~4个.
48100端口是默认携带SPAC支持的, 
如果你浏览器已经有类似Autoproxy+gfwlist之类的机制,可以设置
代理为其它端口。
48101端口是所有流量用GAE作为Proxy的,前提是GAE Enable=1
48102端口是所有流量用C4作为Proxy的,前提是C4Enable=1
48103端口是所有流量用SSH作为Proxy的,前提是SSH Enable=1

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 1:14

GoogleCodeExporter commented 9 years ago
如果我要同时监听这些端口,怎么办,Autoproxy每个代理者只��
�设置一个端口吧

Original comment by bothsp...@gmail.com on 10 Dec 2012 at 1:18

GoogleCodeExporter commented 9 years ago
你可以把这几个当成几个独立的代理。
autoproxy好像没有结合几个代理的能力。SPAC具有结合几个代理�
��能力,前提是自己编辑spac规则。

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 1:25

GoogleCodeExporter commented 9 years ago
我不会编辑spac规则啊。
不能设置为同一个端口吗?
只监听1个端口,那在浏览器代理设置上比较简单吧。

Original comment by bothsp...@gmail.com on 10 Dec 2012 at 1:31

GoogleCodeExporter commented 9 years ago
可以设置为48100

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 1:40

GoogleCodeExporter commented 9 years ago
设置为48100,GAE Proxy,C4 Proxy也都能正常代理吗?

Original comment by bothsp...@gmail.com on 10 Dec 2012 at 1:48

GoogleCodeExporter commented 9 years ago
要同时用GAE+C4只能编辑spac规则,编辑规则参考
https://code.google.com/p/snova/wiki/SpecialProxyAutoConfigOnGSnova
以下是个例子
https://code.google.com/p/snova/issues/detail?id=244

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 1:51

GoogleCodeExporter commented 9 years ago
SwitchySharp不是有个自动切换模式么? 
用那个的话不用编辑SPAC也可以结合几个端口.

Original comment by MelanieC...@gmail.com on 10 Dec 2012 at 2:02

GoogleCodeExporter commented 9 years ago
yinqiwen, 另外, 48101端口的GAE似乎不会Range, 视频播放不了.

Original comment by MelanieC...@gmail.com on 10 Dec 2012 at 2:07

GoogleCodeExporter commented 9 years ago
user_spac.json中定义Inject Range的站点和Proxy方式

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 2:09

GoogleCodeExporter commented 9 years ago
所以如果用48101默认是不会插入Range的
有一个隐藏的InjectRange配置应该还是生效的,修改gsnova.conf
在[GAE]下加上
InjectRange=*.c.youtube.com|av.vimeo.com

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 2:13

GoogleCodeExporter commented 9 years ago
OK. 等等试试.

Original comment by MelanieC...@gmail.com on 10 Dec 2012 at 2:15

GoogleCodeExporter commented 9 years ago
多谢yinqiwen的解答,也多谢MelanieC...

Original comment by bothsp...@gmail.com on 10 Dec 2012 at 2:37