# wget http://www.privoxy.org/sf-download-mirror/Sources/3.0.26%20%28stable%29/privoxy-3.0.26-stable-src.tar.gz # tar xzvf privoxy-3.0.26-stable-src.tar.gz # cd privoxy-3.0.26-stable/ # useradd privoxy # autoheader && autoconf # ./configure && make && make install # vi /usr/local/etc/privoxy/config
查看vim /usr/local/etc/privoxy/config文件,先搜索关键字:listen-address找到listen-address 127.0.0.1:8118这一句,保证这一句没有注释,8118就是将来http代理要输入的端口。然后搜索forward-socks5t,将forward-socks5t / 127.0.0.1:1080 . 此句的注释去掉(注意后面的点不要删了哦).privoxy --user privoxy /usr/local/etc/privoxy/configexport http_proxy=http://127.0.0.1:8118
________________________________________
myron