Skip navigation

VPN disconnects when iPhone goes into auto-lock ?

131841 Views 114 Replies Latest reply: Apr 7, 2014 5:30 AM by mavisiyah RSS Branched to a new discussion.
  • customer0221 Calculating status...
    hi there,

    we are encountering the same problems. After we successfully implemented L2TP VPN from iPhone 4 (OS 4.2.1) via Sonicwall NSA 4500 we were wondering about the folowing behaviour: when the iPhone locks the screen VPN networking is beeing disabled. While evaluating the use of iPhones for corporate mailing and networking we need to make use of a permanent VPN connection. We were wondering what use of such a (go-to-sleep) VPN implementation could have ?

    Well - not locking the screen could be a workaround, but not a solution. When you make use of smartphones for corporate needs you have to make it as secure as possible - Do you Apple guys have any ideas ?



    > xxx, iOS 4
  • JCritch Calculating status...
    Currently Being Moderated
    Dec 29, 2010 11:53 PM (in response to yuki fubuki)
    I just bought an iPhone 4 today after being frustrated with my Black Berry.

    Imagine my suprise when I have had to manually reconnect my VPN every time I want to sync against my corporate exchange server.

    This is such a no brainer that Windows Mobile phones have had this for years.

    Is there no way around this? No software that you can buy to resolve this?

    If not I will return my iPhone tomorrow.

    To bad as I really like it but this is a no go for corporate email users.
    iPhone, iOS 4
  • fps-tech Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 6, 2011 9:30 AM (in response to JCritch)
    +1 for this. It's a bit ridiculous that this was overlooked. Now all of a sudden putting your device to sleep means all your Push traffic tries to go over unsecured networks. Great.
    iOS 4
  • fps-tech Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 6, 2011 9:50 AM (in response to fps-tech)
    This is an example that I just tested. You're at your local unsecured Starbucks location and are on their WiFi nextwork. You establish your VPN connection because you don't want Firesheep sniffing all your gritty Facebook details. You have push mail enabled. I had one email sent to me while on VPN, and surely enough, my iPad alerts me that it came. Great, I'm secured, no problem. Now, I turn my iPad off. I sent another email after 30 seconds, which is how long it took for VPN to get torn down (verified by my VPN server). iPad alerts me of a new email. That exchange was all done on their unsecured network, without me even knowing.

    Bottom line is I now know I have to disable Push email whenever on a public hotspot, and there goes one of the best business features. Maybe it's not a big deal since I think Exchange is secured, but still seems sketchy.
    iOS 4
  • Varta Level 1 Level 1 (5 points)
    Currently Being Moderated
    Jan 26, 2011 3:53 PM (in response to robertvg)
    +1. I'd like to have permanent VPN too.
    If there are good reasons why VPN shouldn't be kept on permanently, I'd feel much better if I knew them. Otherwise I hope it'll be fixed.
    PC, Windows XP Pro
  • customer0221 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 2, 2011 5:26 AM (in response to Varta)
    has anyone ever tried to reproduce this problem with pptp ?
    we are thinking of testing the behavior of the iPhone with a pptp server...

    just wondering if apple guys ever take a look into these forums ?


    > xxx, iOS 4
  • ajduguid Level 3 Level 3 (650 points)
    Currently Being Moderated
    Feb 2, 2011 6:49 AM (in response to robertvg)
    Has anybody here used the feedback mechanism to report this to Apple?
    2.26GHz 13" MacBook Pro and Mac Mini, Mac OS X (10.6.5)
  • CyberChris Calculating status...
    Currently Being Moderated
    Feb 21, 2011 8:58 AM (in response to robertvg)
    Same problem here, L2TP with a Check Point firewall. Although there are other uses for the VPN in our organisation, the only use on an iPhone is to secure emails.

    I'm not so much concerned that the VPN drops, but that it does not re-establish as needed - that's just plain annoying. I understand VPN-on-demand is possible in certain situations, but not with L2TP, and not with the shared-secret configuration supported by our firewall.

    We need an additional parameter under e-mail account settings 'use VPN' so that when the email is refreshed the VPN is connected first.

    Seems a simple enough request?
    iPhone 4, iOS 4
  • jehud Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 27, 2011 7:03 PM (in response to jehud)
    Any update from apple?
    mac mini server, Mac OS X (10.4.6)
  • iphoneNotAsGoodAsbefore Calculating status...
    Currently Being Moderated
    Mar 28, 2011 5:30 PM (in response to jehud)
    I have the same issue. Apple please update and fix this. Or at least provide a setting to keep the VPN on. We know it might be a drain on the battery. We should at least have the option to keep it on.
    IPHONE 4, iOS 4
  • GUERiLLAPUNK^MOB Calculating status...
    Currently Being Moderated
    Apr 18, 2011 8:08 PM (in response to jehud)

    I would like to know what Apple is doing to fix this.


    This is a pretty big for those who use VPN.

  • dcdude71 Calculating status...
    Currently Being Moderated
    Apr 20, 2011 8:07 AM (in response to robertvg)

    +1 I would like to see this addressed. Using public wifi is not a viable option for business users w/o this feature working reliably. I see the security issue on an admin standpoint to have a device automatically hooking to your private network as soon as it comes out of "sleep" but that can be handled on the VPN server side. It should not be imposed by the device. This is a bug IMHO.

  • pepedsl Calculating status...
    Currently Being Moderated
    Apr 27, 2011 1:17 PM (in response to dcdude71)

    I have the same, but I can solve.

    If you have JB your phone, you can use this app:

    It works in 3G and wifi too....

    Without this app, vpn is unusable.

  • dangmars Calculating status...
    Currently Being Moderated
    Aug 12, 2011 6:37 AM (in response to pepedsl)

    It just waste the battery because it turns your moniter off but your CPU still runs. The direct solution is here: l I found it by chance . My VPN works perfectly now.

  • KJCarey Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 13, 2011 3:26 PM (in response to robertvg)



    Any news from Apple on this?  JB doesn't seem to work with the latest update and I would prefer to find a more permanent fix.


    Thank you.


1 2 3 4 ... 8 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (6)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.