polipo

What

socks5 proxy to http proxy

1. Linux

Install

apt-get install polipo

Configuration

$ cat /etc/polipo/config

logSyslog = true
logFile = /var/log/polipo/polipo.log
proxyAddress = "0.0.0.0"
proxyPort = 3128
socksParentProxy = "127.0.0.1:9999"
socksProxyType = socks5
allowedClients = 127.0.0.1

Start

service start polipo

2. MacOS

Install

brew install polipo

Start

polipo socksParentProxy=localhost:9999

3. examples

git config --global http.proxy 127.0.0.1:8123
git config --global --unset-all http.proxy