Linux:sockets代理转http代理

来自WHY42
Riguz讨论 | 贡献2021年10月25日 (一) 02:22的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
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