if you read my previous post, you might want to use vpn on demand on your mac as well. guess what? it's super easy: just double click the mobileconfig file you created following (use the link above).
this will open system preferences asking if you want to install that profile. when you re-open system preferences next tie, you'll see a new item called 'profiles', allowing you to edit your installed profiles.
depending on which type of vpn you use, you might be able to use the built in advanced options inside your network/vpn settings: ”os x yosemite: set advanced vpn options“ on apple.com