@hai046
2016-04-22T04:06:38.000000Z
字数 497
阅读 2180
polipo
922ff76a61ec64ff49cafbbe1d57b11e16398689
1,下载polipo
git clone https://github.com/jech/polipo
git cleckout polipo-1.1.1 #选择1.1.1版本
2,安装
$ make all
$ make install
3,配置/opt/polipo/config
proxyAddress = "0.0.0.0" # http服务器就是本机自己
proxyPort = 7777 #代理端口
allowedClients = 10.174.10.234 #允许访问的ip目前是banana
4,运行代理
polipo -c /opt/polipo/config daemonise=true logFile="/data/log/polipo.log"
5,设置banana全局代理
vim ~/.bash_profile
http_proxy=http://10.44.201.101:7777;
export http_proxy
https_proxy=http://10.44.201.101:7777;
export https_proxy