Resume after sleep

How to customize and extend your OpenVPN installation.
Post Reply
OpenVPN User
Posts: 10
Joined: Sun Jun 14, 2015 8:01 am

Resume after sleep

Post by bonne » Mon Dec 19, 2016 5:51 pm

In order to avoid the "run as administrator" issue, I have at script running at boot loading OpenVPN elevated.

Problem is that after resume, I get a notice from OpenVPN asking me if I am really sure that I want to close my active connections. If I am answering no, OpenVPN is still running, but I would like it not to try to close it on resume.

Other times OpenVPN is just hanging (after resume), and the tunnel never comes up again until all OpenVPN processes are killed in tastmgr.

How to avoid this? To keep OpenVPN running elevated ever after resume?

Regards, Lars.

Post Reply