polipo 被用来创建一个简单的 http 代理, 在你只有 socks5 代理时非常有用.

首先你需要一个配置文件.

#cat config

proxyAddress = "0.0.0.0"    // 代理地址, 只需要本地访问可以填 127.0.0.1
proxyPort = 8118    // 代理端口
socksParentProxy = "127.0.0.1:1080"    // socks5 代理地址
socksProxyType = socks5     // socks 代理类型
#allowedClients = 127.0.0.1     // 可以设置允许使用的客户端地址

然后启动它

sudo polipo -c config

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.