您的位置:首页 > 其它

佛该怎么跳墙

2016-09-05 11:10 597 查看

啊哈

周五发现用的好好的V-P-N不好用了,然后朋友去问得知HZ开会,封了很多IP地址……在网上看各种HZ不堵车啥的,我真是百感交集啊

大家都知道不能用Google对程序员生产力有多大的影响,于是后来又搞了一个SS,然后就出现问题了:

既然是SS,那么就要一个Chrome的插件(因为Linux客户端没有提供自动代理的功能),然后我该怎么去下插件呢?

跳跳跳

于是去Chrome settings里边去搜proxy,然后告诉我可以去系统里设置,但是系统能不能设置就得不一定了,但是!你可以使用命令行去设置!

2333,你果然是世界上最好用的浏览器,还告诉我可以
man chromium-browser
 去查看详情,于是我们可以
man
一下,重点如下:

--proxy-server=host:port
Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests.  This overrides any environment variables or settings picked via the  options  dialog.   An  individual  proxy
server is specified using the format:

[<proxy-scheme>://]<proxy-host>[:<proxy-port>]

Where <proxy-scheme> is the protocol of the proxy server, and is one of:

"http", "socks", "socks4", "socks5".

If the <proxy-scheme> is omitted, it defaults to "http". Also note that "socks" is equivalent to "socks5".

Examples:

--proxy-server="foopy:99"
Use the HTTP proxy "foopy:99" to load all URLs.

--proxy-server="socks://foobar:1080"
Use the SOCKS v5 proxy "foobar:1080" to load all URLs.

--proxy-server="socks4://foobar:1080"
Use the SOCKS v4 proxy "foobar:1080" to load all URLs.

--proxy-server="socks5://foobar:66"
Use the SOCKS v5 proxy "foobar:66" to load all URLs.

It is also possible to specify a separate proxy server for different URL types, by prefixing the proxy server specifier with a URL specifier:

Example:

--proxy-server="https=proxy1:80;http=socks4://baz:1080"
Load https://* URLs using the HTTP proxy "proxy1:80". And load http://* URLs using the SOCKS v4 proxy "baz:1080".

这就简单了,我们直接使用
chromium-browser --proxy-server="http(你采用的协议)://127.0.0.1:1080(你采用的端口)"
 就可以打开一个开着代理的浏览器了,然后就可以愉快的去下载插件了。

啦啦啦

关于插件的设置有很多详细的说明了,最简单的可以看这里
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: