Andrew Hunter's profile | hunterae
Hey Andrew, thanks for the tip. A few things I needed to do to make this work on my computer:
alias vpn='osascript ~/openvpn.applescript'
that line was missing the ending '
To be able to copy and paste the alias call above, needed to make sure the file I created in my user directory was named "openvpn.applescript".
Finally, the name "MyVPN" needed to be adjusted to "VPN (Cisco IPSec)". I found this name by opening "System Preferences", going to "Network", and then scrolling down to find what my VPN configuration was named.