Hi,
I've got an OpenVPN AS server v2.7.4 running.
Want to know if there is any way to configure a shortcut / commandline option to ovpntray.exe to make the client auto-connect to a specific profile upon launch? Or any way to configure it as an "always-on" connection? Thank you.
OpenVPN Connect client (Windows) Always-On VPN - commandline options?
-
- OpenVPN User
- Posts: 46
- Joined: Fri Jun 10, 2011 12:03 am
-
- OpenVPN User
- Posts: 46
- Joined: Fri Jun 10, 2011 12:03 am
Re: OpenVPN Connect client (Windows) Always-On VPN - commandline options?
I will post this for the benefit of others who might be searching...this can be saved as a shortcut:
The -p option is not secure, so use with caution! (or omit it to be prompted for auth on the commandline)
Code: Select all
C:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\core\ovpncli.exe -u username -p "super-secret-password" -S +fqdn-of-server connect