OpenVPN iOS "Always On" - OpenVPN Support Forum (2024)

OpenVPN iOS "Always On"

Post Reply

  • Print view

14 posts• Page 1 of 1

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

OpenVPN iOS "Always On"

  • Quote

Postby 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

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby lzbellina » Sat Jan 23, 2016 9:25 pm

In the general settings on iPhone under openVPN it has OpenVPN iOS "Always On" - OpenVPN Support Forum (1) which I think you are looking for! Hope that helps.

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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?

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

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

Top

ybk
OpenVpn Newbie
Posts: 13
Joined: Mon Oct 24, 2011 2:40 am

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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?

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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?

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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!

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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?

Top

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

Re: OpenVPN iOS "Always On"

  • Quote

Postby 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 ??

Top

frankfurter
OpenVpn Newbie
Posts: 2
Joined: Fri Jul 05, 2019 8:44 am

Re: OpenVPN iOS "Always On"

  • Quote

Postby frankfurter » Fri Jul 05, 2019 8:46 am

Are there any updates on this? Especially with WhatsApp Web and similar things using a lot of data in the background, this is rather annoying since my VPN misses all of these connections.

Top

frankfurter
OpenVpn Newbie
Posts: 2
Joined: Fri Jul 05, 2019 8:44 am

Re: OpenVPN iOS "Always On"

  • Quote

Postby frankfurter » Fri Jul 05, 2019 8:50 am

kkomara wrote:

Sun Oct 02, 2016 1:07 pm

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 ??

The answer is weird rules set by Apple.

Top

nabus
OpenVpn Newbie
Posts: 1
Joined: Fri Nov 29, 2019 6:35 am

Re: OpenVPN iOS "Always On"

  • Quote

Postby nabus » Fri Nov 29, 2019 7:04 am

frankfurter wrote:

Fri Jul 05, 2019 8:46 am

Are there any updates on this? Especially with WhatsApp Web and similar things using a lot of data in the background, this is rather annoying since my VPN misses all of these connections.

I think it’s impossible to find a better solution here than how it works in connection with iOS 12. If you correctly setup an on-demand connection, then it works just fine and all your traffic is sent via a VPN tunnel, except... everything that uses Apple’s services. Means, Apple built in a bypass function to prevent such traffic like Push notifications, iMessages, FaceTime calls etc. being sent through a VPN tunnel.

However I faced a really annoying behavior of the OpenVPN Connect App in connection with iOS 13 and VPN-on-demand profiles, where even in standby a VPN tunnel is established. Believe me, a kind of always-on VPN is really the worst solution ever that you can imagine on a mobile device. The battery is drained within some (about 8-10) hours, even if you are almost not using your iPhone during that time.

I can only hope that the latest update with the “Battery Saver” feature can fix this issue, otherwise it’s really annoying to charge the iPhone twice a day.

Top

Post Reply

  • Print view

14 posts• Page 1 of 1

Return to “OpenVPN Connect (iOS)”

Jump to

  • Announcements
  • Community Project
  • ↳ Server Administration
  • ↳ Configuration
  • ↳ Examples
  • ↳ Routed Example
  • ↳ Installation Help
  • ↳ Tutorials
  • ↳ Testing branch
  • ↳ Scripting and Customizations
  • ↳ Authentication Scripts
  • ↳ Routing and Firewall Scripts
  • ↳ Rolling Your Own Installer
  • ↳ Wishlist
  • ↳ Cert / Config management
  • ↳ Easy-RSA
  • OpenVPN Inc. enterprise business solutions
  • ↳ The OpenVPN Access Server
  • ↳ CloudConnexa (previously OpenVPN Cloud)
  • ↳ OpenVPN Connect (Windows)
  • ↳ OpenVPN Connect (macOS)
  • ↳ OpenVPN Connect (Android)
  • ↳ OpenVPN Connect (iOS)
  • Off Topic, Related
  • Braggin' Rights
  • ↳ My VPN
  • ↳ Doh!
  • Pay OpenVPN Service Provider Reviews/Comments
OpenVPN iOS "Always On" - OpenVPN Support Forum (2024)
Top Articles
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6199

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.