在ubuntu 上设置 shadowsocks ×××

第一服务器端设置

服务器端shadowsocks配置

sudo apt-get -y install python-gevent python-pip

sudo pip install shadowsocks

sudo apt-get -y install python-m2crypto

shadowsockers 安装完毕后,可以查看使用sserver 命令进行查看如下:

which ssserver

/usr/local/bin/ssserver

mkdir /etc/shadowsocks -p

more /etc/shadowsocks/config.json

{

"server":"0.0.0.0",

"server_port":1194,

"local_address":"127.0.0.1",

"password":"123!@#ljt",

"timeout":300,

"method":"aes-256-cfb",

"fast_open":false,

"workers":1

}

启动服务

ssserver -c /etc/shadowsocks/config.json -d start

INFO: loading config from /etc/shadowsocks/config.json

2016-09-12 13:21:09 INFO loading libcrypto from libcrypto.so.1.0.0

Started

第二步 客户端配置

客户端下载

https://github.com/shadowsocks