- wind10 安装ss客户端 配置server 具体不多说
- 安装 ubuntu 子系统
3.安装python pip
apt install python-pip
4.升级pip
pip install --upgrade pip
5.安装genpac 工具
pip install genpac
6.生成配置
genpac --proxy="SOCKS5 127.0.0.1:1080" -o autoproxy.pac --gfwlist-url="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt"
7.编辑 /etc/profile 在文件最后添加(具体端口配置和ss 客户端保持一致)
export http_proxy=http://127.0.0.1:1080
export https_proxy=http://127.0.0.1:1080
export ftp_proxy=http://127.0.0.1:1080
- source /etc/profile 让配置生效
大功告成