server配置
$sudo apt install shadowsocks-libev
$sudo vim /etc/shadowsocks-libev/config.json
{
"server":"<your-public-ip>",
"server_port":<your-port>,
"password":"<your-password>",
"timeout":60,
"method":"chacha20-ietf-poly1305|aes-128-gcm|aes-192-gcm|aes-256-gcm|chacha20-ietf-poly1305|xchacha20-ietf-poly1305"
}
#systemctl start shadowsocks-libev.service
client配置
$sudo apt install shadowsocks-libev
$sudo vim /etc/shadowsocks-libev/config.json
{
"server":"<your-public-ip>",
"server_port":<your-server-port>,
"local_port":<local-proxy-port>,
"password":"<your-password>",
"timeout":60,
"method":"<same-to-server-method>"
}
#ss-local