scutil
scutil
Manage system configuration parameters
scutil –nc (manage VPN connections)
list profiles
display available VPN connections / profiles:
scutil --nc liststart / stop vpn connection
this way things can be scripted and automated, perhaps on log in and log out.
start:
scutil --nc start vpn-007stop:
scutil --nc stop vpn-007