Last active
June 1, 2019 14:27
-
-
Save licaomeng/53fc9e1d76a042d52845b0e489d7d270 to your computer and use it in GitHub Desktop.
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
yum install -y m2crypto python-setuptools | |
yum install -y python-pip | |
pip install shadowsocks | |
vim /etc/shadowsocks.json | |
{ | |
"server":"0.0.0.0", | |
"server_port":8388, | |
"local_port":1080, | |
"password":"passwd", | |
"timeout":600, | |
"method":"aes-256-cfb" | |
} | |
ssserver -c /etc/shadowsocks.json -d start | |
firewall-cmd --zone=public --add-port=[port]/tcp --permanent | |
firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment