I am trying to write a script that automatically sets up a VPN connection using OpenVPN Connect client (v3.2.5) on MacOS and an exisitng .ovpn configuration file.
But I am unable to find the corresponding Terminal command for this. There is an openvpn Homebrew formula, but that is for the older release i.e. v2.5. Is there a v3-compatible one out there? Or would the same 2.5-compatible command work just as fine?
In Linux, these are the steps that I'd be trying to automate:
Code: Select all
$ openvpn --config <config_file>.ovpn Enter Auth Username: <user> Enter Auth Password: <pwd>