Linux:sockets代理转http代理
brew install polipo
polipo socksParentProxy=localhost:6500
curl --proxy http://127.0.0.1:8123 https://www.google.com
export https_proxy=localhost:8123
直接用sockets代理:
export http_proxy=http://127.0.0.1:8123
export https_proxy=http://127.0.0.1:8123
export http_proxy=socks5://127.0.0.1:6500
export https_proxy=socks5://127.0.0.1:6500