OpenVPN iOS "Always On"

Post Reply
cvillard
OpenVpn Newbie
Posts: 1
Joined: Thu Jan 21, 2016 1:52 pm

OpenVPN iOS "Always On"

Post by cvillard » Thu Jan 21, 2016 1:56 pm

I am having a little trouble. Recently I bought an ASUS router which has the OpenVPN built into it. I have setup the VPN server and installed the OpenVPN app on my iPhone and I would like to be able to force my household to use the VPN when outside of the house for security and filtering. It works... Sort of.

They currently can turn off the VPN and it shuts off here and there. I read the iPhone had an always on VPN option but I don't not see anything. Can any of you assist or ran into anything similar?

Charlie

lzbellina
OpenVpn Newbie
Posts: 5
Joined: Sat Jan 02, 2016 12:04 pm

Re: OpenVPN iOS "Always On"

Post by lzbellina » Sat Jan 23, 2016 9:25 pm

In the general settings on iPhone under openVPN it has Image which I think you are looking for! Hope that helps.

mugs180
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 25, 2016 3:16 am

Re: OpenVPN iOS "Always On"

Post by mugs180 » Mon Jan 25, 2016 3:18 am

I navigated to this setting page but I am not presented with any options - it is a blank white page. Where are my setting options?

kvic
OpenVpn Newbie
Posts: 4
Joined: Sun Jan 03, 2016 4:10 pm

Re: OpenVPN iOS "Always On"

Post by kvic » Tue Feb 02, 2016 6:30 pm

cvillard wrote: I read the iPhone had an always on VPN option but I don't not see anything. Can any of you assist or ran into anything similar?
That "AlwaysOn" feature in iOS doesn't apply to OpenVPN.

You can achieve similar with OnDemand VPN. Google may help with you on details.

ybk
OpenVPN User
Posts: 13
Joined: Mon Oct 24, 2011 2:40 am

Re: OpenVPN iOS "Always On"

Post by ybk » Sun Feb 21, 2016 4:05 am

Hi lzbellina,
Have you tried setting connection timeout to "Never"?
Does anyone know what "Never" means in this case?

ropp
OpenVpn Newbie
Posts: 4
Joined: Sun Dec 20, 2015 10:33 am

Re: OpenVPN iOS "Always On"

Post by ropp » Mon Jun 13, 2016 7:11 pm

Any word on this from the OpenVPN developers? I am aware of the fact that iOS/Apple at this point only supports an always on VPN on supervised devices and only with an IKEv2 based VPN solution, but I should think OpenVPN is the player on the market to get this one fixed for themselves too. We also have problems with devices that always need an active tunnel; but when the iOS devices go in lockscreen the tunnel stalls en gets in to "sleep mode", which basically means a drop of IP-adress and no traffic. Is there anything OpenVPN can do?

jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN iOS "Always On"

Post by jamesyonan » Tue Jun 14, 2016 5:04 pm

OpenVPN does support iOS VPN-on-demand. See the FAQ:

https://docs.openvpn.net/docs/openvpn-c ... s-faq.html

James

ropp
OpenVpn Newbie
Posts: 4
Joined: Sun Dec 20, 2015 10:33 am

Re: OpenVPN iOS "Always On"

Post by ropp » Tue Jun 14, 2016 5:59 pm

jamesyonan wrote:OpenVPN does support iOS VPN-on-demand. See the FAQ:

https://docs.openvpn.net/docs/openvpn-c ... s-faq.html

James
Hi James, thanks for your quick reply. On-demand is very useful indeed but for scenario's where a constant data stream is needed on iOS, it is not enough. When the device goes into sleep mode the connection is reset after 30 secs. When the device becomes active again the on-demand kicks in and there is connection again. Is a real "always on" function something you guys could get to work on iOS in cooperation with Apple? Or are you even planning to do so? Cheers!

jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN iOS "Always On"

Post by jamesyonan » Thu Jun 16, 2016 8:53 pm

The "Seamless Tunnel" setting is as close as we can get to being "Always on". Anything beyond that would need support from Apple in the iOS VPN API.

James

ropp
OpenVpn Newbie
Posts: 4
Joined: Sun Dec 20, 2015 10:33 am

Re: OpenVPN iOS "Always On"

Post by ropp » Thu Jun 16, 2016 9:10 pm

James, thanks, I understand. What do you think the chances are for Apples support on this feature? Would that be a possibility to explore?

kkomara
OpenVpn Newbie
Posts: 8
Joined: Mon Mar 14, 2016 2:52 pm

Re: OpenVPN iOS "Always On"

Post by kkomara » Sun Oct 02, 2016 1:07 pm

I use OoenVPN to access my home network and Cisco AnyConnect to access my work network. Both work GREAT from my iPhone (6s+/IOS10) and Surface Book (Windows 10).

On my Surface when I use either OpenVPN or AnyConnect the tunnels stay up basically forever - even if there aren't any packets traversing the tunnels. Only time they go down is when I shutdown or hibernate my PC or the PCs Internet connection breaks.

On my iPhone if I make an AnyConnect tunnel to work it stays up forever. Even if no apps are using the tunnel AND I can lock my iPhone and AnyConnect keeps the tunnel up in the background. It works EXACTLY like it does on my laptop. In fact AnyConnect has stayed connected over night with no issues!!

BUT - OpenVPN disconnects the tunnel Within 30 seconds of my phone locking. I can't find any settings that will make my OpenVPN Tunnel persistent.

So my question is this - IF Cisco can make their tunnel persistent while living under Apples rules - why can't OpenVPN work the same way ??

Post Reply