Recently, the widow King's blockade has become more and more powerful, the former even Gmail all to the full blockade. It's really outrageous.
Here is an article to build a ladder to show determination.
First buy a foreign VPS host, local tyrants machine has linode, digitalocean, cock Silk has bandwagonhost. No more.
Go to haphost get a free vps, but the character is not good to get. Of course I belong to the kind of good character, haha haha, get to the point
Wordy, it is best to buy after the system, recommended CENTOS6, and then
SSH connected to the VPS, first download a few of the necessary development tools, because to be compiled on the VPS installation "Shadow+socks"
Excerpt: (Note: The Yum install requires SU permissions)
centos7
If you want to being able to compile packages in red Hat/centos, you can issue the following command:
yum -y install make gcc gcc-c++ kernel-devel git autoconf libtool libssl-dev openssl openssl-devel
Or:
yum groupinstall "Development Tools"
centos6:
yum -y install build-essential autoconf libtool libssl-dev gcc openssl openssl-devel make
上面是装一些必备的开发工具。接下来
git clone https://github.com/shadowsocks/shadowsocks-libev.git
CD Shadowsocks-libev
./configure
Make && make install
Configuration【shadow+socks】
Vim/etc/shadowsocks/config.json
{
"Server": "VPS IP",
"Server_port": 8080,
"Local_port": 1080,
"Password": "Password", #认证密码, fill in your own ID
"Timeout": 60,
"Method": "Table" #加密方式, default table, recommended AES-256-CFB
}
or run it in the following way
接下来运行【shadow+socks】
nohup /usr/local/bin/ss-server -s IP地址 -p 端口 -k 密码 -m 加密方式 &
比如:nohup /usr/local/bin/ss-server -s 156.132.67.213 -p 8981 -k admin888 -m aes-256-cfb &
重启【shadow+socks】
服务。
/etc/init.d/shadowsocks stop
/etc/init.d/shadowsocks start
其实centos7好像全部是用systemctl restartss-server
这种命令了。
使用shadowsocks
windows环境下需要下载客户端:http://sourceforge.net/projects/shadowsocksgui/files/dist/ 填入之前配置的参数,保存运行即可。 新建浏览器代理为如下:
协议: socks5
地址: 127.0.0.1
端口: 刚才填的 local_port
推荐配合 AutoProxy 或者 Proxy SwitchySharp 一起使用。
CentOS 7 Installation "Shadow+socks"