Linux Mint下使用wallproxy+autoproxy+chrome+switchy sharp的小问题

123 views
Skip to first unread message

Hanson Zhang

unread,
Apr 15, 2012, 11:30:14 AM4/15/12
to gz...@googlegroups.com
之前用win7时候,wallproxy有图形化界面,可以选择全局代理还是gfwlist,
所有的其他软件都可以翻,一般我选择gfwlist,大多数时候用的是chrome,autoproxy自动切换。

用了linux之后,就只能看到命令行了,x界面没了,这没关系,但是chrome+autoproxy自动切换无法使用了,
也就是点switchysharp的gfwlist不能自动切换,必须切换到globalconnetion才行,但是这样子访问百度腾讯
等网站也使用了wallproxy,这样子有时候会变得非常慢。

我更新过pac文件了,或者我获取pac的方式不对,我点的是   其他+127.0.0.1:8086
Autoconfig URL=/home/porsche/Documents/proxy/wallproxy/wallproxyplus/local/autoproxy.pac
我打开local目录底下的userlist.ini文件,全部是乱码

然后我打开proxy.conf文件,去掉下面的两个#

server_extra_option = {
   # 'listen': ('127.0.0.1', 8086),
   #'keep_alive': True,
}
 
然后我再把下面这段的DIRECT都改成了GFWLIST,重启进程,还是不行

if not pac: del plugins['plugins.autoproxy']
elif 'listen' in server:
    pac = autoproxy[0].pop('PROXY 127.0.0.1:8086DIRECT')
    autoproxy[0]['PROXY %s:%s; DIRECT' % server['listen']] = ((pac[0][0], 'http://%s:%s' % server['listen']), pac[1])
del (server_type, appid, password, crypto, onlyone, output, https, pac,
     gae_extra_option, server_extra_option)

 
要怎么解决这个小问题呢?

问题貌似有了新的进展,我把目录复制到/opt里面去了,因为我以为是权限有问题,事实上这并不是问题。

求牛人指点,表示没完全看懂wallproxy里面的语句。要是有些资料什么的就更加好了。

P.S. 把Autoconfig URL改为 file:///home/porsche/Documents/proxy/wallproxy/wallproxyplus/local/autoproxy.pac也不行。
其实现在我更想弄成全局,因为我用bt的时候外国人可以下载我的,我却很难下载他们的,除非有许多xunlei客户端在下载,我的速度才会加快。~

Yongbiao Long

unread,
Apr 15, 2012, 11:54:55 AM4/15/12
to gz...@googlegroups.com
感觉 wallproxy 配置好复杂..

switchysharp 有个 Auto Switch Mode 是吧? 可以利用这个来实现 gfwlist 的功能. 方法:
新增一条 Switch Rule
Rule Name URL Pattern
Pattern Type Proxy Profile
autoproxy *://autoproxy-gfwlist.googlecode.com/*
Wildcard [你的 wallproxy 配置名]

勾选下面的 Online Rule List
http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt
在后面选好proxy profile

选择 Auto Switch Mode 就可以达到目的了

--
Best Regards

Yongbiao Long

unread,
Apr 15, 2012, 11:56:57 AM4/15/12
to gz...@googlegroups.com
2012/4/15 Yongbiao Long <longyo...@gmail.com>:

> Rule Name URL Pattern
> Pattern Type Proxy Profile
> autoproxy *://autoproxy-gfwlist.googlecode.com/*
> Wildcard [你的 wallproxy 配置名]

这排版...
Rule Name, URL Pattern, Pattern Type, Proxy Profile 分别是:
autoproxy, *://autoproxy-gfwlist.googlecode.com/* , Wildcard, [你的
wallproxy 配置名]

--
Best Regards

Zhitong He

unread,
Apr 15, 2012, 1:01:55 PM4/15/12
to gz...@googlegroups.com
chrome有个 --proxy-pac-url参数,可以这样
chrome --proxy-pac-url=file:///path/to/proxy.pac
就不用安装代理插件了

2012/4/15 Yongbiao Long <longyo...@gmail.com>:

> --
> 您收到此邮件是因为您订阅了 Google 网上论坛的"广州 GNU/Linux 用户组"论坛。
> 要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com
> 要取消订阅此网上论坛,请发送电子邮件至 gzlug+un...@googlegroups.com
> 若有更多问题,请通过 http://groups.google.com/group/gzlug?hl=zh-CN 访问此网上论坛。
>

--
Zhitong He
Sun Yat-sen University

Hanson Zhang

unread,
Apr 16, 2012, 1:00:24 AM4/16/12
to gz...@googlegroups.com
我现在想要其他的软件比如bt软件也能翻墙该怎么做呢?其他软件没有--proxy参数的吧。或者可以分享一下你的翻墙方式~谢谢。


On Monday, April 16, 2012 1:01:55 AM UTC+8, Zhitong He wrote:
chrome有个 --proxy-pac-url参数,可以这样
chrome --proxy-pac-url=file:///path/to/proxy.pac
就不用安装代理插件了

2012/4/15 Yongbiao Long <longyo...@gmail.com>:
> 2012/4/15 Yongbiao Long <longyo...@gmail.com>:
>> Rule Name               URL Pattern
>>             Pattern Type                       Proxy Profile
>> autoproxy                 *://autoproxy-gfwlist.googlecode.com/*
>>      Wildcard                            [你的 wallproxy 配置名]
>
> 这排版...
> Rule Name, URL Pattern, Pattern Type, Proxy Profile 分别是:
> autoproxy, *://autoproxy-gfwlist.googlecode.com/* ,  Wildcard, [你的
> wallproxy 配置名]
>
> --
> Best Regards
>
> --
> 您收到此邮件是因为您订阅了 Google 网上论坛的"广州 GNU/Linux 用户组"论坛。
> 要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com

> 要取消订阅此网上论坛,请发送电子邮件至 gzlug+unsubscribe@googlegroups.com


> 若有更多问题,请通过 http://groups.google.com/group/gzlug?hl=zh-CN 访问此网上论坛。
>

Zhitong He

unread,
Apr 16, 2012, 2:12:03 AM4/16/12
to gz...@googlegroups.com
ssh 翻墙的话试试 proxychains 或 tsocks

2012/4/16 Hanson Zhang <porsch...@gmail.com>:


> 我现在想要其他的软件比如bt软件也能翻墙该怎么做呢?其他软件没有--proxy参数的吧。或者可以分享一下你的翻墙方式~谢谢。
>
>
> On Monday, April 16, 2012 1:01:55 AM UTC+8, Zhitong He wrote:
>>
>> chrome有个 --proxy-pac-url参数,可以这样
>> chrome --proxy-pac-url=file:///path/to/proxy.pac
>> 就不用安装代理插件了
>>
>> 2012/4/15 Yongbiao Long <longyo...@gmail.com>:
>> > 2012/4/15 Yongbiao Long <longyo...@gmail.com>:
>> >> Rule Name URL Pattern
>> >> Pattern Type Proxy Profile
>> >> autoproxy *://autoproxy-gfwlist.googlecode.com/*
>> >> Wildcard [你的 wallproxy 配置名]
>> >
>> > 这排版...
>> > Rule Name, URL Pattern, Pattern Type, Proxy Profile 分别是:
>> > autoproxy, *://autoproxy-gfwlist.googlecode.com/* , Wildcard, [你的
>> > wallproxy 配置名]
>> >
>> > --
>> > Best Regards
>> >
>> > --
>> > 您收到此邮件是因为您订阅了 Google 网上论坛的"广州 GNU/Linux 用户组"论坛。
>> > 要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com

>> > 要取消订阅此网上论坛,请发送电子邮件至 gzlug+un...@googlegroups.com


>> > 若有更多问题,请通过 http://groups.google.com/group/gzlug?hl=zh-CN 访问此网上论坛。
>> >
>>
>> --
>> Zhitong He
>> Sun Yat-sen University
>

> --
> 您收到此邮件是因为您订阅了 Google 网上论坛的"广州 GNU/Linux 用户组"论坛。

> 要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/gzlug/-/GROjLs1iEjYJ
>
> 要向此网上论坛发帖,请发送电子邮件至 gz...@googlegroups.com
> 要取消订阅此网上论坛,请发送电子邮件至 gzlug+un...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages