linux 使用sh@d0ws0cks server

[root@linux-node1 ~]# cat /etc/shadowsocks.json 
{
    "server":"x.x.x.x",
    "server_port":0000,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"l@@@@@",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false
}

################

[root@linux-node1 ~]# cd /etc/supervisord.d/
[root@linux-node1 supervisord.d]# ls
shadowsocks.ini
[root@linux-node1 supervisord.d]# 
[root@linux-node1 supervisord.d]# 
[root@linux-node1 supervisord.d]# cat shadowsocks.ini 
[program:shadowsock]
command=/usr/bin/ssserver -c /etc/shadowsocks.json
autostart=true
autorestart=true
stdout_logfile=/var/log/shadowsocks.log
stderr_logfile=/var/log/shadowsocks.log

猜你喜欢

转载自www.cnblogs.com/huochaihe/p/10511910.html