Delete excess VPN connection from Internet Connect
Jun 01, '04 09:21:00AM
Contributed by: chienr
OS X allows you to create VPN connections -- as many as you like -- through Internet Connect, but it won't let you remove unused ones. To do this, you need to manually erase them from /Library -> Preferences -> SystemConfiguration -> preferences.plist by either editing that file with vi or Property List Editor (the latter is much safer and faster, but requires the Developer Tools / XCode package to be installed). Say you want to get rid of VPN (PPTP) 2:
- Open preferences.plist in Property List Editor
- Expand Root, then expand NetworkServices
- Expand each of the hexidecimal profiles and try to find your target (e.g. VPN (PPTP) 2)
- Once it is identified, delete the parent hex profile
- Save it (make sure to have a backup copy of the original file just in case)
This has been tested on 10.3.4. I used the Property List Editor from my 10.2.8 without any problems. Note that in Jaguar (10.2.x), the plist file is under /private -> var -> db -> SystemConfiguration -> preferences.xml.
Comments (9)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20040528012507137