Issues with VPN on Demand

Post Reply
milymat
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 03, 2020 8:38 am

Issues with VPN on Demand

Post by milymat » Fri Jul 03, 2020 2:51 pm

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?

Post Reply