1. 程式人生 > >CentOS6 搭建S-S伺服器

CentOS6 搭建S-S伺服器

#curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
#python get-pip.py
#pip install --upgrade pip
#pip install shadowsocks
#vi /etc/shadowsocks.json
內容如下
{
  "server": "0.0.0.0",
  "server_port": 8388,
  "password": "abcdefghi",
  "method": "aes-256-cfb"
}


說明:
method為加密方法,可選aes-128-cfb, aes-192-cfb, aes-256-cfb, bf-cfb, cast5-cfb, des-cfb, rc4-md5, chacha20, salsa20, rc4, table
server_port為服務監聽埠
password為密碼,可使用密碼生成工具生成一個隨機密碼
以上三項資訊在配置 shadowsocks 客戶端時需要配置一致,具體說明可檢視 shadowsocks 的幫助文件。


使用配置檔案在後臺執行shadowsocks服務
#ssserver -c /etc/shadowsocks.json -d start

客戶端下載:

  https://github.com/shadowsocks/shadowsocks-windows/releases
--------------------- 
作者:暗淡亮點 
來源:CSDN 
原文:https://blog.csdn.net/suleil1/article/details/79070245 
版權宣告:本文為博主原創文章,轉載請附上博文連結!