1. privoxy
sudo apt-get install privoxy
2. 配置
sudo vi /etc/privoxy/config
按照下面的配置一下
另外监听接口默认开启的 localhost:8118 如果有需要可以配置,没有需要就不用
已经配置好的。
//开启privoxy 服务就行
sudo service privoxy start
// 设置http 和 https 全局代理
export http_proxy='http://localhost:8118'
export https_proxy='http://localhost:8118'
test :
wget www.google.com
如果把返回200 ,并且把google的首页下载下来了,那就是成功了
关于shadowsock配置可以看这里
http://blog.csdn.net/li740207611/article/details/50479228
http://blog.csdn.net/li740207611/article/details/50479320
参考文章
https://blog.phpgao.com/privoxy-shadowsocks.html
http://qichunren.github.io/tool/2014/07/15/Convert-shadowsocks-into-http-proxy-on-mac/