M
M
mr_blond972015-08-06 13:44:59
openvpn
mr_blond97, 2015-08-06 13:44:59

Why won't OpenVPN GUI client connect after hibernation?

Why won't OpenVPN GUI client connect after hibernation?
After hibernation, I select "connect" in the context menu of the openvpn gui shortcut, after which the connection starts, the shortcut turns yellow, nothing happens further and nothing is written in the logs. OS windows 7.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
younghacker, 2015-08-07
@younghacker

After restoring from hybernate, check the process list to see if openvpn is present.
If yes, then try adding options to the configuration file:

ping 10
ping-restart 60

If openvpn crashes, then enable its verbose logs
log         openvpn.log
log-append  openvpn.log
verb 9   # от 3 до 9. (9 - очень детальные логи)

and then watch them.
Do not forget to turn off the logs later or reduce the verbosity
. And in practice, I do not use the GUI, but a service that is started either by hand, or by a batch file, or automatically at system startup. In case of a crash, the option to restart is set.
I hope this helps to understand the reasons.
The last resort is to write/find a script that will restart the openvpn service on a return event from hybernate. :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question