-
Notifications
You must be signed in to change notification settings - Fork 0
Shadowsocks的那些事 #1
Copy link
Copy link
Open
Description
server side
选择Debian 7.0+服务器,然后再参照https://github.com/shadowsocks/shadowsocks/wiki/Setting-Up-Shadowsocks-on-Linode里的shell脚本进行安装,即
curl 'https://raw.githubusercontent.com/shadowsocks/stackscript/master/stackscript.sh?v=4' > /tmp/ss.sh && bash /tmp/ss.sh && rm /tmp/ss.sh
*nux client side(目前还没有成功)
install shadowsocks
- install pip:
yum install python-setuptools && easy_install pip - install shadowsocks:
pip install shadowsocks
problem
第2步时可能会出现找到到pip仓库的问题,可以执行sed --in-place 's#http://pypi.python.org#https://pypi.python.org#g' /usr/lib/python2.6/site-packages/setuptools/command/easy_install.py,其实就是因为http://pypi.python.org现在是https访问的了
run
通过pip安装完shadowsocks后,sslocal, not ssserver
reference: https://github.com/shadowsocksr-backup/shadowsocks-rss/wiki/Python-client-setup-(Mult-language)
cd /usr/lib/python2.6/site-packages/shadowsocks
python local.py /etc/shadowsocks.jsonopen port
iptables -I INPUT -p tcp --dport 1080 -j ACCEPT
iptables -I OUTPUT -p tcp --dport 1080 -j ACCEPTReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels