搭建ss科學上網,支援PC/手機用戶端和路由器。,sspc

來源:互聯網
上載者:User

搭建ss科學上網,支援PC/手機用戶端和路由器。,sspc

作為碼農怎麼能不用Google呢?

我來做下shadowsocks服務的搭建。

Shadowsocks使用socks5代理,用於保護網路流量。在中國大陸被廣泛用於突破防火長城(GFW),以瀏覽被封鎖的內容。

Shadowsocks分為伺服器端和用戶端。在使用之前,需要先將伺服器端部署在支援Python的伺服器上面,然後通過用戶端串連並建立本地代理。

官網:https://shadowsocks.org/en/download/clients.html 

要安裝FQ服務,首先需要一個外地伺服器,比如香港、美國伺服器。

大家可以去aws購買,還有免費伺服器可以使用。

一、ss安裝配置:

yum install python-setuptools && easy_install pippip install shadowsocks
ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
#或者
ssserver -c /shadow/shadow.cnf -d start
#shadow.cnf

{
"server":"11.41.72.21",
"port_password":{
"443":"password"
},
"timeout":300,
"method":"aes-256-cfb"
}

二、window用戶端:

  window配置也很簡單

  

這樣就可以訪問google了。

三、linux用戶端的配置

sslocal -c /shadow/sslocal.cnf -d start#/shadow/sslocal.cnf  {"server" : "47.88.105.243 ","server_port" : 443,"password" : "password","method" : "aes-256-cfb","remarks" : ""}

 

四、智能路由器的配置

  現在很多智能路由器都是基於openwrt的開發的,openwrt是個微型linux,所以我們按照linux安裝配置即可。

  參考安裝:https://github.com/shadowsocks/openwrt-shadowsocks 

  

git clone https://github.com/shadowsocks/openwrt-shadowsocks.git package/shadowsocks-libev# 選擇要編譯的包 Network -> shadowsocks-libevmake menuconfig# 開始編譯make package/shadowsocks-libev/compile V=99

在路由器開啟ss後,我們就可以直接通過路由器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.