Ubuntu 16.04 安裝Shadowsocks 客戶端 配置

  1. Firstly, entry into github,shadowsocks page: https://github.com/shadowsocks/shadowsocks-qt5/releases
    download:Shadowsocks-Qt5-3.0.1-x86_64.AppImage

  2. change mode:chmod +x Shadowsocks-Qt5-3.0.1-x86_64.AppImage. About AppImage,Please refer to https://appimage.org/

  3. run:./Shadowsocks-Qt5-3.0.1-x86_64.AppImage

  4. Secondly, import server side configurtation【this configuration is generated by Shadowsocks Windows Client】e.g.: gui-config.json [ contain the server info]

Ubuntu 16.04 安裝Shadowsocks 客戶端 配置

  1. Last but no least, We need to set proxy in system setting panel,

Entry into system setting panel,choose network option --> chose network proxy --->In Method-->choose manual ---> socks host: 127.0.0.1 port:1080 ---> apply the whole system .

  1. Congras! now you can brower google.com by google chrome explorer.

P.S.: 1) 這麼設置是全局代理,也就是所有的請求都走代理,包括國內網站。
2)Ubuntu也可以設置PAC模式

方法如下:
<1> 以root 身份安裝genpac: sudo pip install genpac
<2> 打開一個終端中,輸入:genpac --proxy="SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" -o autoproxy.pac --gfwlist-url="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt"

該命令根據--gfwlist-url 產生autoproxy.pac文件;需要定期執行這條命令更新autoproxy.pac文件。

<3>然後進入系統設置---> 網絡---> 網絡代理---> 方法選擇‘自動’---->配置URL【就是步驟2生成的pac文件】

Ubuntu 16.04 安裝Shadowsocks 客戶端 配置

<4> ok!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章