git clone https://github.com/xzymoe/gfwlist2privoxy.git
给ssr执行权限后,放入/usr/local/bin
ssr install
ssr config
安装privoxy
修改配置文件/etc/privoxy/config
把这一行注释掉listen-address localhost:8118
添加
listen-address 127.0.0.1:8118
listen-address [::1]:8118
forward-socks5t / 127.0.0.1:1080 .最后有个点
最后可以在.bashrc添加
ssr start
export http_proxy=http://localhost:8118
export https_proxy=http://localhost:8118