hkhoshraftar
4/10/2020 - 7:58 PM

#shadow_socks @centos

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