Install Shadowsocks-libev as Client on Debian Linux
Install Shadowsocks-libev
# apt-get update
# apt-get install shadowsocks-libev
# vi /etc/shadowsocks-libev/config.json
{
"server":"server_ip",
"mode":"tcp_only",
"server_port":8888,
"local_port":1080,
"password":"server_password",
"timeout":60,
"method":"aes-256-gcm"
}
"server":"server_ip",
"mode":"tcp_only",
"server_port":8888,
"local_port":1080,
"password":"server_password",
"timeout":60,
"method":"aes-256-gcm"
}
You need to change server_ip, 8888, server_password to your owns.
Start shadowsocks-libev on boot
# cp /lib/systemd/system/shadowsocks-libev-local@.service /lib/systemd/system/shadowsocks-libev-local.service
# vi /lib/systemd/system/shadowsocks-libev-local.service
Modify /lib/systemd/system/shadowsocks-libev-local.service as following:
#ExecStart=/usr/bin/ss-local -c /etc/shadowsocks-libev/%i.json
ExecStart=/usr/bin/ss-local -c /etc/shadowsocks-libev/config.json
ExecStart=/usr/bin/ss-local -c /etc/shadowsocks-libev/config.json
Enable shadowsocks-libev.service
# systemctl enable shadowsocks-libev-local.service
Start shadowsocks-libev
# systemctl start shadowsocks-libev-local.service
Check the status of shadowsocks-libev
# systemctl status shadowsocks-libev-local.service
Comments
Post a Comment