privoxy + ss 配置代理

上官网下载:

https://www.privoxy.org	

编译安装:

tar -zxvf privoxy.tar.gz
cd privoxy
./configure —prefix=/usr/local/privoxy/
adduser privoxy
make && make install

修改配置:

# vim /usr/local/privoxy/etc/config 增加一行
forward-socks5 / 127.0.0.1:1080 .  # 后面有个点 否则会报错 Error: Wrong number of parameters for forward-socks4a directive in configuration file.

启动

 /usr/local/privoxy/sbin/privoxy /usr/local/privoxy/etc/config