ubuntu下配置shadowsocks,ubuntushadowsocks

來源:互聯網
上載者:User

ubuntu下配置shadowsocks,ubuntushadowsocks

官方文檔中雖然寫的很清楚 但是自己還是摸索了好一段時間(這個裡面講的很清楚)

https://wiki.archlinux.org/index.php/Shadowsocks_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)

shadowsocks是一個socks5代理,用python寫成。

記錄一下自己的搭建過程(普通使用者無需佈建服務端,網上大部分教程都是佈建服務端的方法)

1.安裝shadowsocks

apt-get install python-pippip install shadowsocks

2.寫設定檔

   1>建立設定檔在/etc下

sudo vim /etc/shadowsocks.json

   2>編寫設定檔(各個參數在wiki中給的很清楚)

{    "server":"server_address",    "server_port":server_port,    "local_port":1080,    "local_address":"127.0.0.1",    "password":"your password",    "timeout":600,    "method":"aes-256-cfb"}

 

https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File  

3.運行shadowsocks.json即可,一般使用者不用搭建服務端

sudo sslocal -c /etc/shadowsocks.json -d startsudo sslocal -c /etc/shadowsocks.json -d stop

4.使用瀏覽器上網時,chrome需要下載Proxy SwitchySharp外掛程式

http://www.switchysharp.com/install.html

建立情景模式中手動設定選擇socks5代理

填寫 127.0.0.1 連接埠號碼:1080

儲存後啟用就可以使用socks5代理FQ了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.