树莓派下搭建shadowsocks服务器教程

1.安装Pip。

apt-get install python-pip python-gevent python-m2crypto

2.安装Shadowsocks。

pip install shadowsocks

3.创建Shadowsocks配置文件。
配置文件 /etc/shadowsocks.json 内容如下:

{
    "server":"0.0.0.0",
    "server_port":8388,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"密码",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false,
    "workers": 1
}

4.启动服务。

nohup ssserver -c /etc/shadowsocks.json &

5.设定为自动启动的方法:
写入 nohup ssserver -c /etc/shadowsocks.json & 到 /etc/rc.local 文件的 exit 之前。

版权声明:
作者:admin
链接:http://www.bttme.com/archives/502.html
来源:bttme
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>