Mac OS Terminal Command for OpenVPN Connect v3

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
orodrigues
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 08, 2021 7:09 pm

Mac OS Terminal Command for OpenVPN Connect v3

Post by orodrigues » Fri Jan 08, 2021 7:32 pm

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

orodrigues
OpenVpn Newbie
Posts: 2
Joined: Fri Jan 08, 2021 7:09 pm

Re: Mac OS Terminal Command for OpenVPN Connect v3

Post by orodrigues » Sat Jan 09, 2021 2:43 am

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!

Post Reply