Skip to content

Instantly share code, notes, and snippets.

@licaomeng
Last active June 1, 2019 14:27
Show Gist options
  • Save licaomeng/53fc9e1d76a042d52845b0e489d7d270 to your computer and use it in GitHub Desktop.
Save licaomeng/53fc9e1d76a042d52845b0e489d7d270 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":"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