Skip to content

Instantly share code, notes, and snippets.

@woshidama323
Created August 31, 2018 16:16
Show Gist options
  • Save woshidama323/4e296b8e06405f18713af8a42130527e to your computer and use it in GitHub Desktop.
Save woshidama323/4e296b8e06405f18713af8a42130527e to your computer and use it in GitHub Desktop.
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