5分钟配置一个Ubuntu代理服务器 (Configure a proxy server within 5 minutes)

yuxi(61)
Published in
#cn
Words
397
Reading
2 min
Listen
Play
9y

我想代理服务器的作用大家都懂,我就不多说了,这里给大家介绍一下如何快速的配置一个代理服务器。当然前提是你需要有一个国外的VPS。

 Sometimes people wants to get access to their favorite websites while they are travelling. As some websites are blocked in some countries. Here is the step by step tutorial on how to configure a proxy server on ubuntu. 

申请一个国外VPS服务器 (Get a VPS server)

关于好用的VPS,羽西专门写过一篇文章,大家可以看看:推荐几个好用的国外VPS个人强烈推荐Vultr家的VPS, 最便宜的才需要 $5一个月。而且点我的链接注册还能送$20,相当免费使用4个月。

 First you need to get a VPS server up and running. I recommend Vultr’s $5 plan. 

安装代理服务器软件(Install server software)

apt install python-gevent python
apt-get install python-pip
pip install shadowsocks

编辑配置文件 (Edit file):

nano /root/proxy/config.json

配置文件内容如下(file content template):

{
 "server":"Your VPS Server IP",
 "server_port":8888,
 "local_port":1080,
 "password":"Your password",
 "timeout":600,
 "method":"aes-256-cfb"
}

运行服务器软件 (Run proxy server software):

nohup ssserver -c /root/proxy/config.json

安装配置客户端软件(Configure client software)

在以下网址下载客户端软件,以Windows版为例,只需要下载zip文件并解压缩就可以直接运行了: https://shadowsocks.org/en/download/clients.html按照下图所示的配置一下客户端:

Download client from: https://shadowsocks.org/en/download/clients.htmlConfigure proxy client as showing in the following screen dump: 

右键单击程序图标然后选中 ‘Enable system Proxy’好了,设置完毕,你可以浏览Google, facebook等网站了。。。 

Then right client the proxy client application icon in the task bar and tick ‘Enable system Proxy’Enjoy free browsing now! 

5分钟配置一个Ubuntu代理服务器 (Configure a proxy server within 5 minutes) | Ecency