proxy-pac
Proxy Helpers and Setup
Usage
Windows
- Open Windows “Proxy Settings”
- Windows key → then type “proxy settings”
- Use setup script: “On”
- Script address: https://raw.githubusercontent.com/andylytical/proxy-pac/master/proxy.pac
- Save
Mac
- Settings → Network → Advanced → Proxies → Automatic Proxy Configuration
- Enter path to local file (example: file:///absolute/path/to/proxy.pac)
See also: https://gist.github.com/dusenberrymw/850151bda3253453e5244d6a33c7cd2d
Testing
Online
- https://thorsen.pm/proxyforurl
Local
- Install
libpacparser1
sudo apt install libpacparser1
#ubuntu
/usr/bin/pactester -p <PAC_FILE> -u <URL>
References:
- https://github.com/pacparser/pacparser
- https://success.thousandeyes.com/PublicArticlePage?articleIdParam=kA044000000LBBmCAO
References
- http://findproxyforurl.com/example-pac-file/