-
All replies
-
Helpful answers
-
Aug 23, 2016 5:47 AM in response to Chuck Risherby BobHarris,Create a VPN specific Network Location and switch the Network Location when going to and from the VPN connection.
System Preferences -> Network -> Locations -> Edit Locations...
Select your "Automatic" location, then click on the Gear icon at the bottom of the dialog and choose "Duplicate"
Give the new location a unique name, such as My_VPN_to_XYZ
Now edit the location to have DNS settings you need for the VPN to work correctly. And change any other Network profile items you need for the VPN and they will remain associated with the My_VPN_to_XYZ location.
Now you can use the
Apple menu icon -> Locations -> Automatic
Apple menu icon -> Locations -> My_VPN_to_XYZ
to quickly and easily switch between the preset Network locations
If you really want to get tricky, you can use a utility such as ControlPlane
<http://www.controlplaneapp.com/feature-list/>
and create triggers that will cause ControlPlane to automatically switch your Network Location when you start/stop your VPN connection.