I want to push the configuration for our VPN to client computers. I tried using the MCX preference manifest, but it doesn’t seem to work (has anyone used it successfully?)
Failing that, I attempted to find a CLI way to do the configuration using a script that runs as root on the client, but I can’t find any way to do it.
I can see that a configured VPN is listed in /Library/Preferences/SystemConfiguration/com.apple.network.identification.plist, so I could potentially write a script to modify that directly. However, I would rather use something like the ifconfig or networksetup utilities. Is there a clean CLI way of doing this?
Comments are closed