I got it from here brew install macosvpn sudo macosvpn create --l2tp Atlantic --endpoint atlantic.example.com --username ' ' --password ' ' --shared-secret s3same You can provide ' ' for both the username and password, this allows any user to fill in as required.