iOS 12 shortcuts to enable/disable VPN

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jtkvpn
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 18, 2018 12:43 am

iOS 12 shortcuts to enable/disable VPN

Post by jtkvpn » Tue Sep 18, 2018 12:47 am

Is there any way to get iOS 12 shortcuts to enable or disable a VPN connection? I haven't found any way to do it via either the Settings app or the OpenVPN app, version 3.0.1

m_theredhead
OpenVpn Newbie
Posts: 1
Joined: Mon Sep 24, 2018 7:15 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by m_theredhead » Mon Sep 24, 2018 7:16 pm

This would be a great feature. I have a couple of apps that require VPN access and it would be great if I could start then via a shortcut and then start the app.

radiocolin
OpenVpn Newbie
Posts: 13
Joined: Fri Mar 07, 2014 5:23 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by radiocolin » Fri Dec 14, 2018 6:47 pm

Adding another vote for this feature.

mrdindon
OpenVpn Newbie
Posts: 6
Joined: Mon Apr 16, 2012 3:23 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by mrdindon » Mon Mar 18, 2019 4:24 pm

One vote here too :) That way way could enable it based on location . . .

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: iOS 12 shortcuts to enable/disable VPN

Post by ecrist » Mon Mar 18, 2019 10:27 pm

The OpenVPN does provide a pretty easy way to enable/disable a VPN with a simple toggle.
IMG_9305.jpg
You do not have the required permissions to view the files attached to this post.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

Pi-DD
OpenVpn Newbie
Posts: 3
Joined: Sun Apr 22, 2018 8:14 am

Re: iOS 12 shortcuts to enable/disable VPN

Post by Pi-DD » Sun Apr 14, 2019 9:17 am

I’ll add my vote to that request! The toggle is simple, but it would be nice to be able to automate doing it into a series of shortcut events that open one or more other apps.

ZetiX
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 12, 2019 7:43 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by ZetiX » Mon Aug 12, 2019 7:54 pm

ecrist wrote:
Mon Mar 18, 2019 10:27 pm
The OpenVPN does provide a pretty easy way to enable/disable a VPN with a simple toggle.
While there is a easily way to enable/disable a VPN within the app, allowing this feature in the shortcuts app give users the ability to automate it.

I also hope that this feature gets implemented as it's really useful. Some examples are running the shortcut and checking if the IP is the IP of the VPN and running certain tasks if connected. If it isn't, then shortcuts will turn the VPN on.

Without this integration, you could only redirect users to the OpenVPN Connect app and have them manually toggle it on, then go back to the shortcut app to run it again. This has to be implemented by VPN app developers as Apple did not implement the ability to directly access the VPN toggle in settings.

SaturnusDJ
OpenVPN User
Posts: 30
Joined: Thu Nov 24, 2011 11:17 pm
Location: Netherlands

Re: iOS 12 shortcuts to enable/disable VPN

Post by SaturnusDJ » Wed Nov 13, 2019 11:54 pm

Kick.

A nice implementation would be to use iOS's 3D Touch functions, which on most devices will be the deep press and on some and all newer devices will be a long press.

Probably even better would be a button in the Control Centre, although I guess only Apple can do that. Then Apple should make a control for VPNs (that is any VPN). Or did they maybe do this in iOS 13? I don't have it yet.

Stach
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 04, 2019 6:59 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by Stach » Wed Dec 04, 2019 7:02 pm

And another vote here. It would be extremely helpful in Shortcuts workflows to initiate OpenVPN tunnels, perform other actions, and then close the tunnel. OpenVPN is fantastic, but this would only help make it much more powerful and desirable.

Techie
OpenVpn Newbie
Posts: 6
Joined: Thu Apr 02, 2020 7:14 am

Re: iOS 12 shortcuts to enable/disable VPN

Post by Techie » Wed Apr 08, 2020 10:47 am

Some VPN apps (TunnelBear and the Passepartout beta are the only ones I’ve used) have Siri shortcuts that you can control in the Shortcuts app for turning it on and off.

christophersw
OpenVpn Newbie
Posts: 1
Joined: Tue Mar 16, 2021 4:14 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by christophersw » Tue Mar 16, 2021 4:15 pm

+1 for this! A shortcut would allow me to automatically connect any time I leave the wifi range of my house!

kourosh_ag
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 23, 2021 10:19 pm

Re: iOS 12 shortcuts to enable/disable VPN

Post by kourosh_ag » Fri Jul 23, 2021 10:20 pm

jtkvpn wrote:
Tue Sep 18, 2018 12:47 am
Is there any way to get iOS 12 shortcuts to enable or disable a VPN connection? I haven't found any way to do it via either the Settings app or the OpenVPN app, version 3.0.1

Post Reply