VPN+Proxy: How to override main network settings

NetworkPROXYvpn

I can establish a connection to my university VPN (Cisco IPSec). In addition I have to set a proxy, in this case I have the URL of a .pac file.

When I set this in the VPN-settings, the proxy is not used by Safari or Chrome. How can I set proxy settings for my VPN? I don't want to put this in the main network settings because I only need the proxy for VPN.

Best Answer

Setting it in the VPN connection settings works as expected for me.

Make sure you check the Web Proxy (HTTP) checkbox (or other types of proxies if required) and fill out the correct proxy server details. You probably also need to enable "Send all traffic over VPN connection" in the VPN's advanced configuration.

Afterwards, make sure you apply the settings by clicking on the Apply button.

Alternatively, you can set up different network locations. You can add a location in the Network preference pane and configure different values for the proxies and other settings on the main network interface. You will have to manually select the appropriate location for switching settings though.