My company is going with OpenVPN and I just got the client (version 184.108.40.206) working on my Windows 10 machine but I would like to connect (including authenticate), check the connection status and disconnect--all from the command line.
I thought that Googling something like "openvpn windows client command line" would produce something but I haven't found it. I searched for something similar in the OpenVPN forum but didn't find anything in that ocean.
Previously, I used Cisco AnyConnect, where I could issue commands like these:
This would prompt me to enter my credentials and then connect to the host using my default profile.
This would output the current connection state of the VPN connection (e.g. CONNECTED etc.)
This would disconnect the current connection, if there was one.
Is it not possible to do something simple like this with OpenVPN 2.5 for Windows?