Created
August 31, 2018 16:16
-
-
Save woshidama323/4e296b8e06405f18713af8a42130527e 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":"server_ip", | |
"server_port":8000, | |
"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