Page 1 of 1

[Solved] Force disconnect on sleep/lock

Posted: Mon Feb 10, 2014 12:23 pm
by akv
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

Re: Force disconnect on sleep/lock

Posted: Mon Feb 10, 2014 9:11 pm
by jamesyonan
Yes, just go to Settings App under OpenVPN and turn off "Reconnect on wakeup".

James

Re: Force disconnect on sleep/lock

Posted: Tue Feb 11, 2014 2:51 pm
by akv
Thanks, it worked! :)