Apple’s Worldwide Developers Conference returns June 10, 2024

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VPN disconnects when iPhone goes into auto-lock ?

As the subject says....my iPhone seems to disconnect the VPN as soon as it goes into auto-lock....in my case after two minutes.
I have a L2TP VPN configured for a mail connection to an Exchange server...if it constantly disconnects then the pushmail functionality is of no use....

Is this behaviour as designed or am I missing something ?

Regards, Robert

PC, Windows 7

Posted on Feb 12, 2010 5:40 AM

Reply
Question marked as Best reply

Posted on Aug 17, 2010 5:58 AM

this isn't normal.

i'm using VPN for a year now. never noticed this...
i've tried now to replicate this and failed. it works fine!

i've only noticed it to be disconnected when fluctuation between 3G and EDGE happens. between WiFi and 3G the connection is persistent. push mail and other services work fine...

lock screen with 3G: http://img265.imageshack.us/img265/7105/photo2k.png
lock screen with WiFi: http://img411.imageshack.us/img411/2189/photo1ll.png
127 replies

Feb 26, 2012 9:37 PM in response to robertvg

It seems to save the battery getting drained out the vpn connection is getting auto terminated. People have suggested to turn off the auto lock feature. Though that solves the problem, but is a double security threat.


Another work around for the problem is to keep the phone on charge. For me the VPN does not get disconnected even after auto lock when the phone is on charge.

Apr 26, 2012 11:02 AM in response to robertvg

Hi people! I hope you are fine.


This problem was concerning me a long time ago. The infraestructure to establish the VPN connection is the following: Ipad2, dsl connection, IPSEC between ipad and Fortigate 60c. The only way i have to avoid disconnection when the ipad sleep was set "Automatic Block: Never". I try with Cisco anyconnect but i cant because my VPN does not use cert., only user, group and PSK. Jailbreak... Nah... the solution was Update the ipad to the version 5.1 (9B176).

After the upgrade, i set the VPN again and set the auto lock to 2 minutes. Then, when i go Unlock with the button the vpn still connected (or reconnected, do not investigate a lot)!!!



I hope this comment can help more than one!



Regards, Diego (Uruguay)

Jul 25, 2012 9:33 AM in response to Mikekan

Anyconnect VPN is useless as a solution if you are using a VPN connection that is reachable only via an APN connection provided by a carrier such (i.e.Verizon). In addition, I am managing a specific iPad device using MobileIron's SmartPhone Manager product, therefore I would need to use a configured and pushed VPN settings profile to manage my VPN settings. This cannot be accomplished in conjunction with a VPN profile created in an installed instance of Anyconnect VPN.

Aug 13, 2012 2:21 AM in response to fastfret

I think that this is exactly what the end-users need to have as an accessible on/off function or button.


For example, I would be very happy to be able to use a simple function that will have the VPN connection back on when wi-fi reconnects (i.e., after sleep, disconnection or switch between wifi and 3G/edge).


Is there anyone using Cisco's Anyconnect to keep PPTP type of VPN connection alive?

VPN disconnects when iPhone goes into auto-lock ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.