When the iPhone (4) goes to sleep, the VPN will disconnect. Is there any way to disable this behavior as it's sometimes a bit annoying.
I am jailbroken, and the server I'm connecting to is Windows Server 2008 R2 which I can edit settings on.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityThe VPN will disconnect because your WiFi disconnects.
Therefore you would have to...
To keep WiFi on in sleep mode you need to install KeepAwake via Cydia.
See this step-by-step guide.
I would expect that sleeping an iPhone and staying connected to the network are incompatible goals. If you don't want to drop the VPN connection, you need to keep the device awake.
However, I found a discussion on apple.com that states that plugged-in devices are able to maintain network connections while in sleep mode.
I did 2 things and now the VPN does not disconnect even while switching from wifi to 3G.
Now it's all fine, i can work from anywhere on my 3GS and VPN remains connected while on the move also.
I turns on a music at background with volume turned off .. Put it on repeat, my brother turn auto lock to off on his iPod . To keep the VPN alive , and VPN will not disconnect ... But may be there's a cydia tweak for tha
This works for me iPhone 5 iso 6.1.4;
http://www.ehow.com/how_12133063_keep-vpn-alive-iphone.html#page=0
a workaround that I found was on a jailbroken device, use activator and link unlocking device to a toggle to turn on VPN. Therefor every time I unlock my device the VPN reconnects so I am happy :)
http://www.cultofmac.com/225244/apple-decides-not-to-kill-always-on-vpn-for-ios-devices/
hopefully this will help you.