[Solved] Force disconnect on sleep/lock

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Locked
akv
OpenVpn Newbie
Posts: 2
Joined: Mon Feb 10, 2014 12:17 pm

[Solved] Force disconnect on sleep/lock

Post by akv » Mon Feb 10, 2014 12:23 pm

Hi

We have some shared devices used for testing and access to test-webservers are via a OpenVPN connection. But unfortunately people forget to disconnect and the device gets picked up by someone else and ... ok, you already got the point :)

Are there any way to make the devices automatically disconnect when they enter sleep mode or are locked? Right now it just reconnects when the device is resumed. Timeout on the VPN connection doesn't work, we need keepalive active for other devices :/

/Anders
Last edited by debbie10t on Tue Feb 11, 2014 4:57 pm, edited 1 time in total.
Reason: [solved / closed]

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: Force disconnect on sleep/lock

Post by jamesyonan » Mon Feb 10, 2014 9:11 pm

Yes, just go to Settings App under OpenVPN and turn off "Reconnect on wakeup".

James

akv
OpenVpn Newbie
Posts: 2
Joined: Mon Feb 10, 2014 12:17 pm

Re: Force disconnect on sleep/lock

Post by akv » Tue Feb 11, 2014 2:51 pm

Thanks, it worked! :)

Locked