Closed maxcountryman closed 6 years ago
Why, yes!
Well yes, I did look at that—it isn’t clear to me how the OpenVPN config consumes the .pac.
So is it not possible to use the .pac with an OpenVPN client then?
It is possible. The link above shows how to configure a client or server push settings do just that.
Okay thanks—it seemed like the two configs you linked were for servers exclusively.
Do you mind if I add a note to the README?
As far as I can tell, push "dhcp-option PROXY_AUTO_CONFIG_URL http://192.168.1.1:8080/proxy.pac
does not work with OpenVPN client configs. Would be nice if this were mentioned in the documentation.
push
directives belong in server configs because the server pushes the options to the clients.
The client config setting is simply
dhcp-option PROXY_AUTO_CONFIG_URL http://192.168.1.1:8080/proxy.pac
Both server-pushed and client dhcp-option
options work.
This is already well-documented in OpenVPN rtfm's.
Can you explain the process for doing this? Cursory Google searches don't yield much.