shadowsock搭建服务端与客户端

参考:

https://www.polarxiong.com/archives/Ubuntu-16-04%E4%B8%8BShadowsocks%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E5%AE%89%E8%A3%85%E5%8F%8A%E4%BC%98%E5%8C%96.html

https://www.polarxiong.com/archives/Ubuntu-16-04%E4%B8%8BShadowsocks%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E5%AE%89%E8%A3%85%E5%8F%8A%E4%BC%98%E5%8C%96.html

1、配置服务器

apt install python3-pip
pip3 install shadowsocks
mkdir /etc/shadowsocks
vi /etc/shadowsocks/config.json

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

2、启动服务器

ssserver -c /etc/shadowsocks/config.json

3、下载安装客户端

客户端配置界面
这里写图片描述

4、客户端启用代理

5、编辑用户规则

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||guanggoo.com

点击:从GFWList更新本地PAC

查看pac.txt

6、IE访问guanggoo.com

服务器打印:

7、 ubuntu安装ss客户端

https://blog.csdn.net/noiary/article/details/49215373

猜你喜欢

转载自blog.csdn.net/ypbsyy/article/details/81079736