Skip to content

Instantly share code, notes, and snippets.

@ahgood
Last active October 2, 2020 23:56
Show Gist options
  • Save ahgood/b4964f39e3737e6b1386bb424dfb6a84 to your computer and use it in GitHub Desktop.
Save ahgood/b4964f39e3737e6b1386bb424dfb6a84 to your computer and use it in GitHub Desktop.
Unknow
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
@ahgood
Copy link
Author

ahgood commented Oct 2, 2020

[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