I've setup a VPN connection using AnchorFree.com on my iPhone 4 which works great, the issue I have is when my iPhone goes to sleep or screen locks the VPN connection appears to auto disconnect and doesn't reconnect unless I manually make it. I saw a thread here on apples forums confirming others are seeing this issue but no real solution.

  • Same here. iPod touch. Very annoying.
    – Thilo
    Dec 8, 2010 at 3:36
  • A question without question. Amazing ;-)
    – Rabskatran
    Dec 8, 2010 at 13:00

3 Answers 3


I don't know if it will really help you, but the only way I see to walk-around this problem is to set the System Preferences "Auto Lock" to "Never". This will keep you connection alive.

I would do this before every remote work session. Then, reset it to 1 minutes, you're done with it.

  • 1
    That seems to be a double security hole. First your iPhone won't lock, and then the thief will also have access to the VPN.
    – Thilo
    Dec 9, 2010 at 6:38
  • Yes others have mentioned this but I don't want turn off lock mode because it's inevitable that I will forgot to turn it back on leaving me at risk.
    – Jeremy T
    Dec 9, 2010 at 13:00
  • 1
    Have you ever used your iPhone as a hand calculator while working for instance ? If you don't turn this autolock during that time, you'll become mad. If there are right : there should be an app for that ! An app that switch the auto-lock on at startup, no ?
    – Rabskatran
    Dec 9, 2010 at 13:25
  • or rather, a way to declare certain apps as "not security-relevant". They could then be accessed without unlocking the phone. The whole thing opt-in, of course.
    – Thilo
    Dec 11, 2010 at 4:42

It's most likely a battery-saving option. If only it would do that with Wi-Fi connections.... :( Being connected to a wireless signal besides 2G data eats the battery like mad.


I have just signed up for VPN service this week and I have been having the same problem. I use it to watch Netflix and listen to Pandora from out of the country. I have been playing around to see if I can get the VPN to stay connected; so far I found a solution that has been working for about an hour or so now.

I have a jailbroken iPhone 4 and I have installed backgrounder from Cydia which keeps programs running even when closed or when the screen is off.

After installing this, I installed Pandora from the App Store and, after launching it, I held down the home button to background it.

So far, it seems to be working because Pandora uses my connection and if I keep it backgrounded, it will prevent the VPN from disconnecting.

I have only been using it for a couple of hours so I'm not sure how good of a permanent solution it will be.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .