Auto connect client

Post Reply
mrjohn
OpenVPN User
Posts: 15
Joined: Thu Apr 04, 2019 7:24 am

Auto connect client

Post by mrjohn » Sat Apr 27, 2019 3:19 am

Hi
Is there a easy and safe way in v.2.4.7 to autoconnect client without using windows scheduled task or saving password to plain text?
thanks

mrjohn
OpenVPN User
Posts: 15
Joined: Thu Apr 04, 2019 7:24 am

Re: Auto connect client

Post by mrjohn » Mon May 13, 2019 9:55 am

for client side I've solved using scheduled task for opening openvpn-gui.exe and add config file to task argument: --connect config.ovpn
but for server,in case of a windows update+restart if user not log in,all connections for clients will be down :(

novaflash
I should be on the dev team.
Posts: 1017
Joined: Fri Apr 13, 2012 8:43 pm

Re: Auto connect client

Post by novaflash » Wed May 15, 2019 10:11 am

With OpenVPN Access Server, you can obtain an auto-login profile, which doesn't require credentials to establish a connection.

You can install the open source OpenVPN client on Windows, and enable the openvpn service component. It can read such an auto-login profile from the c:\program files\openvpn\config\ directory and start that connection up at start-up time, even before you login to your Windows system. It is entirely in the background.

Post Reply