How to create a VPN connection via terminal? explains how to use Terminal to enable a VPN connection previously configured via System Preferences. I want to go one step further and configure a VPN connection without using System Preferences. How can I do this from Terminal?

  • Wait this seems to be a duplicate question of apple.stackexchange.com/questions/128297/…. But I still would like to know if you can specify a username and password for this vpn connection – aham Feb 21 '19 at 21:36
  • I took a look at that solution and it seems that they are simply starting an already configured vpn connection from terminal (I could be wrong here). What I want to know is how would you go about configuring a new vpn connection in terminal? – aham Feb 22 '19 at 0:52

You must log in to answer this question.

Browse other questions tagged .