pacproxy is a proxy that parses pac file and start a simple http proxy which will forward http requests to proxies in pac
Download prebuilt binaries from releases
To build from source ensure that Go(>=1.11.5)
environment has been properly setup.
go get -u -v github.com/darren/pacroxy
# Load pac from local file
pacroxy -p wpad.dat -l 127.0.0.1:9999
# Load pac from remote file
pacroxy -p http://wpad.local/wpad.dat -l 127.0.0.1:9999
# To test
curl -x 127.0.0.1:9999 https://example.com
- This is a simple tool still in development, use at your own risk.
- For https request only
https://example.com/
will be passed to FindProxyForURL, ie: no query path is passed