安装 shadowsocks-libev

apt install shadowsocks-libev -y

配置文件:

nano /etc/shadowsocks-libev/config.json
{
    "server":["::","0.0.0.0"],
    "mode":"tcp_and_udp",
    "server_port":8080,
    "local_port":1080,
    "password":"Password1234",
    "timeout":86400,
    "method":"aes-256-gcm"
}

chacha20-ietf-poly1305

重启

systemctl restart shadowsocks-libev
systemctl status shadowsocks-libev

卸载

systemctl stop shadowsocks-libev
apt remove shadowsocks-libev -y
rm /etc/shadowsocks-libev/config.json