Skip navigation

VPN disconnects when iPhone goes into auto-lock ?

132911 Views 114 Replies Latest reply: Apr 7, 2014 5:30 AM by mavisiyah RSS Branched to a new discussion.
  • cyberchris81 Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 24, 2013 6:42 PM (in response to robertvg)

    There should be in option in ios to "BLOCK ALL TRAFFIC IF VPN IS NOT CONNECTED"

     

    That simple.

  • wgoosey Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jun 20, 2013 11:14 AM (in response to robertvg)

    For what its worth, this works VERY well for me....

     

    There is a new app in the store called OpenVPN Connect.  If you can create a proper profile for your VPN provider then the VPN will stay persistent thru the device lock.

     

    I signed up with www.privateinternetaccess.com for $39/year which was about the cheapest I could find (and they keep NO logs).  I then browsed their forum and found a way to create the profile that makes the above app work.  This is very easy to do but VERY geeky to figure out.  Some VPN companies have their own apps and maybe they work as well but if you happen to be using the one I chose, here is a link to the posts about the simple text edit to create the profile and make the app use that profile to keep things under VPN persistently.  This is needed so your phone or IOS device isn't in the clear when it autolocks and you wander around an open wifi area that you previously were logged into under VPN initiated using Apple's VPN switch.

     

    Here is the link for the PIA discussion.  Hope it can be extrapolated by those in the know for other services....

     

    https://www.privateinternetaccess.com/forum/index.php?p=/discussion/comment/3848 #Comment_3848

     

    I'm not sure if you can get to this link unless you are a subscriber to their service but maybe searches on OpenVPN connect and profile setup in Google will tell you about your provider....

     

    For what its worth.....

  • Peter Almere Level 2 Level 2 (475 points)
    Currently Being Moderated
    Jun 20, 2013 11:44 AM (in response to wgoosey)

    This is ofcourse a wonderfull thing. But it is a lot of mumbo to get it actually working and it only works when you are, like me, a happy privateinternetaccess user.

     

    However once you are connected to their network on openvpn your internetconnection gets as speedy as a slow slow snail.....

     

    Wouldn't it be nice if apple makes the service on the iPhone work, as it should, for all?

  • wgoosey Level 1 Level 1 (10 points)

    I've not really seen significant speed differences.  I have to admit that they routed everyone to the US East and I find, at least for me, that the Chicago server is consistently twice at fast.  Also, the Toronto one is speedy too.  I ended up putting 4 different profiles in for different servers.  I don't notice speed losses at all except on my Mac Pro if one of the servers slows down.  IOS seems fine all the time for me....

  • gleep52 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 20, 2013 11:49 AM (in response to robertvg)

    iOS7 has per app VPN access... I wonder if that stays open in the background too?  If so - just add all our apps to the VPN tunnel?

     

    Anyone here have the beta to try it out? 

  • jaymiethomas Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 20, 2013 3:16 PM (in response to gleep52)

    I don't have the beta, but with Apple's (welcome) obssession with extending battery life in iOS7, it wouldn't surprise me if these still got closed-off when the iPhone/iPad is locked.  It'd be great to have the choice whether to spend the battery life when locked though and choose between persisten connection or 'only when active'.

  • wgoosey Level 1 Level 1 (10 points)

    This is a serious issue....battery.  While the method I described above works great on both my iPad 1, iPad 3 and iPhone 5, I have noticed that my phone battery drain is quite noticeable.  Since I'm retired, I have ample opportunity to change the phone but even with that, I wouldn't want to just leave VPN turned on 24/7.  While the secuity isn't needed at home, the anonymity would be welcome (marketeers annoy me!)  but I just don't want to be watching the battery all the time.  I think with IOS7 and the easy control panel to turn off unneeded battery eating services it might be tolerable to leave VPN on all the time but not likely.

     

    On the other hand, the larger battery on the iPad makes it reasonably tolerable.  Ie, the ipad seems to hang in all day, even with the VPN on constantly.

     

    Still, as you said, having the choice would be nice.  LTE (and my grandfathered in unlimited plan) makes wireless sort of uneeded on the fly with the phone but sitting in hotels and watching Netflix or browsing on my WiFi only ipads makes having it available really reassuring.

     

    Ah well, we'll have to see what IOS7 really brings.....but I can live with what I have if Apple doesn't break it!

  • G J Piper Level 1 Level 1 (90 points)
    Currently Being Moderated
    Jun 20, 2013 4:50 PM (in response to wgoosey)

    Battery still wouldn't be an issue if it only connected "on demand" and disconnected itself after a minute of idle time.

  • foxmajik Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 21, 2013 11:34 AM (in response to robertvg)

    I found a workaround that works using the OpenVPN Connect client which you can download in the App Store:

     

    https://www.privateinternetaccess.com/forum/index.php?p=/discussion/comment/4958 #Comment_4958

     

    This is geared toward Private Internet Access VPN but should be adaptable to other VPN providers.

     

    I have tested and found that the OpenVPN Connect client stays connected when the screen is off as opposed to the iOS built-in client which drops the connection and then does not re-establish it when the screen is unlocked.

  • wgoosey Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jun 21, 2013 12:01 PM (in response to foxmajik)

    Yep,

     

    I posted this a few messages upstream and after more testing I've found it to work well also.  The VPN pauses when you go off wireless and resumes most of the time when you jump back on. I've tested it using four of PIA's many servers on an iPad 1 under ios 5 as well as on an iPad 3 and iPhone 5 under ios 6.x.   All worked fine for me. PIA support doesn't support this though because it apparently doesn't work for everyone. They are fine with our using it but don't want to troubleshoot for user issues if it doesn't work.  My guess is that might become official someday if ios 7 doesn't provide a better path.

     

    Very handy

  • zongamin Level 1 Level 1 (10 points)
    Currently Being Moderated
    Oct 3, 2013 10:12 PM (in response to robertvg)

    This is insane.

     

    Now on ios 7.0.2 and it still drops VPN whenever the screen goes to sleep.

     

    It makes no sense.

  • lemon-kun Level 1 Level 1 (10 points)
    Currently Being Moderated
    Oct 19, 2013 5:08 AM (in response to zongamin)

    Same here, iOS 7.0.2 and still that problem…

  • buhyabum Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 22, 2013 7:38 PM (in response to lemon-kun)

    I see people discussing the problem as far back as 2010. Three years and no resolution. That's a long time to have an unfixed bug. Clearly Apple cares not one iota about the issue. And by extension, those of us trying to use VPNs.

  • longtom99 Level 1 Level 1 (10 points)
    Currently Being Moderated
    Oct 22, 2013 10:53 PM (in response to buhyabum)

    Maybe it's not a bug, but a feature?

  • flymarines Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 31, 2014 8:47 PM (in response to longtom99)

    Same issue here, on iPhone and ipad. I don't care if it stays connected when the phone is asleep-- but why can't it auto-reconnect when I wake up the phone or ipad? This is inconvenient.

1 ... 4 5 6 7 8 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (6)

Legend

  • 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.