科学上网

阅读更多

1 shadowsocks

步骤1:购买外网VPS

vultr上购买云服务器(VPS,Virtual Private Server),需要有一个公网IP,部署地点就近选择(日本等)

步骤2:登录VPS,启动shadowsock的服务端

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
apt-get install -y python-pip
export LC_ALL=C
pip install --upgrade pip
pip install setuptools
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
cat > /etc/shadowsocks.json << 'EOF'
{
"server":"my_server_ip",
"server_port":25,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
EOF

ssserver -c /etc/shadowsocks.json -d start
ssserver -c /etc/shadowsocks.json -d stop
  1. 按照shadowsocks在VPS上启动shadowsock服务
  2. 使用shadowsock客户端连接服务端即可

1.1 参考