How to install Shadow•socks in CentOS7

Helps from:

  • http://www.cmsky.com/shadowsocks-python-install/
  • http://shadowsocks.blogspot.jp/?m=1
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log
firewall-cmd --zone=public --add-port=8080/tcp --permanent #假设端口设置为8080
firewall-cmd --reload

 

P.S

防火墙一定要记得设置,之前因为没有设置折腾了好久。

 

posted @ 2016-04-06 01:32  flowjacky  阅读(424)  评论(0编辑  收藏  举报