How do I create shortcut to turn VPN on?

I am using the most recent iOS version on my iphone and I like the built-in VPN. Sadly, I must go into settings to turn it on. It’s not like turning on BT, data or Wifi. Also the Shortcuts app doesn’t offer anything like it. Is there a way? Thanks

iPhone SE, iOS 15

Posted on Aug 17, 2022 04:18 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 17, 2022 05:03 AM

vt ~ No, currently the only way is via Settings. I know you really want a VPN action in Shortcuts, but the following is related, so just for completeness I'll put it here...


A custom shortcut set up to be triggered by a Double or Triple Back Tap can open the Settings app or get you to the VPN Settings pane directly:


Shortcuts User Guide for iPhone and iPad


Use Back Tap on your iPhone - Apple Support


All 120+ Settings URLs Supported by iOS & iPadOS


URL action with: prefs:root=General&path=VPN


OR:


prefs:root=General&path=VPN/DNS


...followed by Open URL.


õ¿õ¬

4 replies
Question marked as Top-ranking reply

Aug 17, 2022 05:03 AM in response to vt8235

vt ~ No, currently the only way is via Settings. I know you really want a VPN action in Shortcuts, but the following is related, so just for completeness I'll put it here...


A custom shortcut set up to be triggered by a Double or Triple Back Tap can open the Settings app or get you to the VPN Settings pane directly:


Shortcuts User Guide for iPhone and iPad


Use Back Tap on your iPhone - Apple Support


All 120+ Settings URLs Supported by iOS & iPadOS


URL action with: prefs:root=General&path=VPN


OR:


prefs:root=General&path=VPN/DNS


...followed by Open URL.


õ¿õ¬

Aug 17, 2022 07:04 AM in response to Alancito

My bad, iOS doesn’t come with a VPN. I noticed by digging deeper in the setting that another app installed was the one with a ✔️, meaning in charge of VPN functionality. When uninstalled, I had no VPN in my phone settings anymore. There are fields to add a VPN server manually but this is beyond my needs, so I guess if I want VPN I have to use an app and turn it on off there. I reckon my ticket is solved. Thanks

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I create shortcut to turn VPN on?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.