#笔记 Linux 下安装 ShadowsocksR 客户端

git clone -b manyuser https://github.com/shadowsocksr-backup/shadowsocksr.git ssr
cd ssr/shadowsocks
vi ssr.json

配置文件示例

{
    "server":"0.0.0.0",
    "server_ipv6": "::",
    "server_port":8388,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"mypassword",
    "timeout":300,
    "udp_timeout": 60,
    "method":"aes-256-cfb",
    "protocol": "auth_aes128_md5",
    "protocol_param": "",
    "obfs":"http_simple",
    "obfs_param": "",
    "fast_open": false,
    "workers": 1
}

调试运行

python local.py -c ssr.json

测试

curl --proxy socks5://localhost:1080 ip.sb

后台运行

python local.py -c ssr.json -d start

重启

python local.py -c ssr.json -d restart

停止

python local.py -c ssr.json -d stop

日志保存在 /var/log/shadowsocks.log 中。

点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注