$ pip install shadowsocs
$ whereis sslocal
$ vim ~/.config/shadowsocks.json
$ sslocal -c ~/.config/shadowsocks.json
# start in the background
$ sudo sslocal -c ~/.config/shadowsocks.json -d start
# check the service
$ sudo systemctl status rc-local.service
# the output like this
● rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/etc/systemd/system/rc-local.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2015-11-27 03:19:25 CST; 2min 39s ago
Process: 881 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/rc-local.service
├─ 887 watch -n 60 su matrix -c ibam
└─1112 /usr/bin/python /usr/local/bin/sslocal -c /etc/shadowsocks....
{
"server":"server-ip",
"server_port":8000,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"your-password",
"timeout":600,
"method":"aes-256-cfb"
}
a lot of methods not been sopported