FANDOM


mkdir shadowsocks

cd shadowsocks

apt-get install build-essential autoconf libtool libssl-dev git python-m2crypto

git clone https://github.com/shadowsocks/shadowsocks-libev.git

cd shadowsocks-libev

./configure && make

make install

创建配置文件

mkdir /etc/shadowsocks cd  /etc/shadowsocks

vi config.json

{

  "server":"0.0.0.0",

  "server_port":duankou,

  "local_port":1080,

  "password":"mima",

  "timeout":300,

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

  "workers":1

}

shadowsocks的运行命令为ss-server,查找其目录 whereis ss-server,结果一般是/usr/local/bin/ss-server

加入开机启动 vi /etc/rc.local

加入 /usr/local/bin/ss-server -c /etc/shadowsocks/config.json

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.