Skip to content

Instantly share code, notes, and snippets.

@hkhoshraftar
Created April 10, 2020 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkhoshraftar/08eab7d3ccd702b0281a1fb8b5c90494 to your computer and use it in GitHub Desktop.
Save hkhoshraftar/08eab7d3ccd702b0281a1fb8b5c90494 to your computer and use it in GitHub Desktop.
cd /etc/yum.repos.d/
curl -O https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/repo/epel-7/librehat-shadowsocks-epel-7.repo
yum install -y shadowsocks-libev
nano /etc/shadowsocks-libev/config.json
{
"server": "0.0.0.0",
"server_port": 3389,
"password": "login_password",
"method":"aes-256-cfb",
"mode": "tcp_and_udp",
"timeout":3600
}
ss-server -c /etc/shadowsocks-libev/config.json
journalctl -u shadowsocks-libev
tail -f /var/log/messages
tail -f /var/log/secure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment