Mac OS X is a very awesome operating system. But sometimes it just is not as intuitive as what it appears to be. For example,
Do you know how to delete VPN connections completely?
You might want to try something in “System Preferences -> Network” Settings. But you will soon discover that the button for removal is greyed out, and you cannot press it.
Some in apple support community suggested following ways to remove them. If you have rather complicated VPN connection names, you’d better rename them before you delete them one by one using the command. (You can rename them in Network preference page to rename it.)
It is kind of working, except that it failed to show you how to remove one last VPN connection. The command he suggested cannot remove last one.
In order to delete entire VPN completely, you need to remove Profiles generated by installing VPN services. If you open up “System Preferences”, you will see a “Profiles” icon. Get in and delete whatever profiles associated with the VPN which you would like to delete, then VPN will be gone. You will not even need the aforementioned method.