shadowsocks-restful-api


https://github.com/shadowsocks/shadowsocks-restful-api.git
cd /data/shadowsocks-restful-api

cat .env 
LOGIN_PASSWORD = Ygsddf865wNw
LISTEN_PORT = 6000

openssl req -nodes -x509 -newkey rsa:4096 -keyout server.key -out server.cert -days 365
vi ss-api.ini
[program:ss-api]
directory=/data/shadowsocks-restful-api
command=/usr/bin/node app.js
redirect_stderr=true
stdout_logfile=/var/log/ss-api.log
autostart=true
autorestart=true
startsecs=10
startretries=3
priority=3
stopasgroup=true
killasgroup=true



md5-d628579a4a342c92a90f08c7b5df8edc



https://github.com/shadowsocks/shadowsocks-libev.git
vi ss-manager.ini   
[program:ss-manager]
command=/usr/bin/ss-manager -m aes-256-gcm -u --manager-address /tmp/shadowsocks-manager.sock --fast-open --acl /etc/shadowsocks-libev/all.acl -d 8.8.8.8
redirect_stderr=true
stdout_logfile=/var/log/ss-manager.log
autostart=true
autorestart=true
startsecs=10
startretries=3
priority=3
stopasgroup=true
killasgroup=true



md5-d628579a4a342c92a90f08c7b5df8edc



cat /etc/shadowsocks-libev/all.acl
#[reject_all]
[white_list]
127.0.0.1
::1
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
0.0.0.0/0