Last active
October 2, 2020 23:56
-
-
Save ahgood/b4964f39e3737e6b1386bb424dfb6a84 to your computer and use it in GitHub Desktop.
Unknow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 apt update | |
2 apt upgrade | |
3 apt install shadowsocks-libev | |
4 nano /etc/shadowsocks-libev/config.json | |
{ | |
"server":"SERVER-IP-ADDRESS", | |
"server_port":1984, | |
"local_port":1080, | |
"password":"PASSWORD", | |
"timeout":60, | |
"method":"aes-256-cfb" | |
} | |
5 service shadowsocks-libev restart | |
6 ps aux | grep shadow |
[CentOS 8]
URL=https://copr.fedorainfracloud.org/coprs/outman/shadowsocks-libev/repo/epel-8/outman-shadowsocks-libev-epel-8.repo
curl -sSL "$URL" -o /etc/yum.repos.d/outman-shadowsocks-libev.repo
yum install -y epel-release && yum install -y libsodium shadowsocks-libev simple-obfs
nano /etc/shadowsocks-libev/config.json
{
"server":"SERVER-IP-ADDRESS",
"server_port":1984,
"local_port":1080,
"password":"PASSWORD",
"timeout":60,
"method":"aes-256-cfb"
}
systemctl enable shadowsocks-libev --now
systemctl enable firewalld --now
firewall-cmd --add-port=1984/tcp --permanent
systemctl restart firewalld
systemctl start shadowsocks-libev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[Ubuntu User]
You may need to open port for Shadowsocks-libev service:
ufw allow 1984
If you met problem when installing shadowsocks-libev, you may need to try following command before installing:
apt install software-properties-common -y
apt-repository ppa:max-c-lv/shadowsocks-libev -y
apt update
Learn more: https://github.com/shadowsocks/shadowsocks-libev