Linux基础就不讲了,网上很多,可以自己搜索。这里只介绍科学上网工具Shadowsocks的傻瓜安装指南。
推荐年费3.99美元的VPS。
yum install epel-release
yum update
yum install python-setuptools m2crypto supervisor
easy_install pip
pip install shadowsocks
vi /etc/shadowsocks.json
加入
{
"server":"0.0.0.0",
"server_port":8388,
"local_port":1080,
"password":"yourpassword",
"timeout":600,
"method":"rc4-md5"
}
记得修改8388和yourpassword为你自己的端口号和密码
保存退出
可选的加密方式:
aes-128-cfb
aes-192-cfb
aes-256-cfb
bf-cfb
camellia-128-cfb
camellia-192-cfb
camellia-256-cfb
cast5-cfb
des-cfb
idea-cfb
rc2-cfb
rc4
seed-cfb
table
rc4-mdt(2.2.2以后版本)
Shadowsocks默认加密方法 table 速度很快,但很不安全。推荐使用 “aes-256-cfb” 或者 “bf-cfb”。请不要使用 “rc4”,它不安全。
vi /etc/supervisord.conf
在尾部加入
[program:shadowsocks]
command=ssserver -c /etc/shadowsocks.json
autostart=true
autorestart=true
user=root
保存退出
vi /etc/rc.local
在下面加入
service supervisord start
保存退出
reboot
下载客户端安装到你的手机和电脑上,修改客户端的相关设置保持和你的服务端参数一致即可。
Android手机客户端下载链接
https://play.google.com/store/apps/details?id=com.github.shadowsocks
https://github.com/shadowsocks/shadowsocks-android/releases
电脑客户端端下载链接
http://sourceforge.net/projects/shadowsocksgui/files/dist/
推荐阅读:
评论
本文评论功能已关闭。