date: 2018-7-16 09:50:47+00:00 layout: post title: ‘socks proxy to http proxy’ categories: 技术 tags: proxy —
polipo
Install
brew install polip
Config
Download Sample Config
curl -o ~/.polipo https://raw.githubusercontent.com/jech/polipo/master/config.sample
Modify accorting to your setting
socksParentProxy = "localhost:1080"
socksProxyType = socks5
Enable remote access proxy
# Uncomment one of these if you want to allow remote clients to
# connect:
# proxyAddress = "::0" # both IPv4 and IPv6
proxyAddress = "0.0.0.0" # IPv4 only
Start and Stop
launchctl
launchctl load /usr/local/opt/polipo/homebrew.mxcl.polipo.plist launchctl unload /usr/local/opt/polipo/homebrew.mxcl.polipo.plist
service
brew services restart polipo
UI Config
http://127.0.0.1:8123/polipo/config