0

I am using an openVPN client to connect to a VPN. But the network that I am currently in sits behind a proxy and it manages proxy via PAC files (Proxy Auto-Config files).

I am looking at https://openvpn.net/index.php/open-source/documentation/howto.html#http to see how to connect to VPN behind a HTTP Proxy but the http-proxy takes a dns name /ip address and port and optional credentials.

Example: http-proxy 192.168.4.1 1080

It does not take a PAC file. How can I setup my openVPN client to accept/use PAC proxy file?

  • You probably can't directly. What you may have to do is write some kind of script that downloads the pac, parses out the proxy, and then modifies your config and starts the VPN. The tricky part is that a PAC is really a hunk of javascript code so parsing it out may not be easy. – Zoredache May 24 '18 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.