Page 1 of 1

Mac OS Terminal Command for OpenVPN Connect v3

Posted: Fri Jan 08, 2021 7:32 pm
by orodrigues
Hello,

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>
P. S. I have Mac OS Catalina (v10.15.7)

Many thanks,
Oswin

Re: Mac OS Terminal Command for OpenVPN Connect v3

Posted: Sat Jan 09, 2021 2:43 am
by orodrigues
NVM, the 2.5-version CLI command works fine and there is no version-mismatch error with having the 3.2.5-version client installed. Ignore this post, I'd delete it, but can't find the button to do so anywhere. Thanks!