Page 1 of 1

Issues with VPN on Demand

Posted: Fri Jul 03, 2020 2:51 pm
by milymat
Hi all,

I created a working mobilconfig file of my openhab configuration and VPN on demand works well for accessing my stuff via the hostname.

But I also configured "DisconnectOnIdle" like:

Code: Select all

<key>AuthenticationMethod</key>
<string>Certificate</string>
<key>OnDemandEnabled</key>
<integer>1</integer>
<key>DisconnectOnIdle</key>
<integer>1</integer>
<key>DisconnectOnIdleTimer</key>
<integer>60</integer>
<key>OnDemandRules</key>
<array>...</array>
But I don't work, the connection is still established after 10 min when I closed all the App on iOS, even after having my iPhone in Standby for 15mins.
I also checked the option "battery saver" in the settings of the OpenVPN App.

Do you have any idea?