Answer the question
In order to leave comments, you need to log in
How to start OpenVPN connection at Windows startup automatically?
It is necessary that the OpenVPN connection is automatically connected when Windows starts. Googled it. Made the corresponding services automatic. Did not help. Does anyone actually have this experience? Or what do you recommend?
Answer the question
In order to leave comments, you need to log in
Program Files\OpenVPN\config\
#README.txt
This directory or its subdirectories should contain OpenVPN
configuration files each having an extension of .ovpn
When OpenVPN is started as a service, a separate OpenVPN
process will be instantiated for each configuration file.
When OpenVPN GUI is started configs in this directory are added
to the list of available connections
for GUI HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
C:\OpenVPN\bin\openvpn-gui.exe --connect server.ovpn
can be 3 places registry setting ( OpenVPN-GUI )
I gave 1 example of them
just for Pts customers need a visual, otherwise in terms of administration do not ask if it works or not
There was an experience - I set up autostart through services, it worked fine.
Check permissions on files, directories. Turn on logging. Service starts most likely with the rights of LocalSystem.
As far as I remember, it is enough to transfer one of the services to autostart, the rest will be started by itself if necessary. I don't remember the name of the service now.
If it starts normally in manual mode, then the same thing should happen automatically.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question