外面的世界

知道的越多,越觉得需要了解更多。在有墙的环境下生活久了,会产生一种错觉,觉得墙所限的区域就是全世界,待得越久这种错觉就越真实。殊不知墙外还有世界,它或许缤纷多彩。以下介绍一种越墙方法。

购买一台VPS

推荐去virmach购买,价格良心。

在VPS上搭建Shadowsocks(ss)

搭建步骤如下:

apt-get update
apt-install python-pip
pip install shadowsocks

启动ssserver:

ssserver -c /etc/shadowsocks.json -d start

其中/etc/shadowsocks.json的内容如下:

{
    "server": "server_ip",
    "server_port": server_port,
    "local_address": "127.0.0.1",
    "local_port": 1080,
    "password": "password",
    "timeout": 300,
    "method": "aes-256-cfb",
    "fast_open": false
}

ss client

下载对应平台的Shadowsocks,添加server配置。你也可以搭配SwitchyOmega使用。Enjoy yourself!

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s