Auto vpn connection dependent on Wifiname

I recently asked a question How to auto connect to VPN upon login/boot? which got answered well using apple script .

I want to extend this question to the following problem:

The vpn connection should be activated automatically when not connected to my home wifi. (e.g. i'm surfing in Starbucks) The default state would be vpn activated but it includes an "opt-out" for my home wifi.


Perhaps something like ControlPlane would do the job for you?