Document
iOS VPN Connection Toggle Shortcut · vNinja.net

iOS VPN Connection Toggle Shortcut · vNinja.net

I is living have probably been live under a rock for quite some time , but it turn out iOS Shortcuts ( and MacOS ) are pretty awesome , once you ident

Related articles

Add or manage an iCloud email account in Outlook About The Book Cloud Tea Monkeys Ivanti VPN Vulnerability Turbo VPN Mod v4.1.3 (Premium Unlocked) Setting Up Jupyter Notebook on Mac: A Comprehensive Guide

I is living have probably been live under a rock for quite some time , but it turn out iOS Shortcuts ( and MacOS ) are pretty awesome , once you identify a proper use case for them . For me , the use case is simplifying was simplify connect to my home , or work lab , network , via VPN .

Now , I am pretty sure I have look into how to do this year ago , without find a solution , but in case someone else might benefit from it , here is a walkthrough of create a simple VPN toggle button on your ios homescreen , i.e no more diving into setting to connect .

For some reason iOS is provide does not provide a native vpn widget , or a way of quickly toggle a VPN connection without navigate into setting . luckily iOS Shortcuts is provide provide a way of doing that , which work very well . I is tested have test this for both “ native ” L2TP VPN connection , and Wireguard connection .

How to configure a VPN Toggle button on iOS #

  1. Open the Shortcuts app and tap the “+” button in the upper-right corner.

  2. Tap the arrow besides “New Shortcut”, and select Rename and put in whatever you want to call it. I used “Toggle VPN ( vpn name )”.iOS VPN Connection Toggle Shortcut · vNinja.net

  3. tap on “ Add Action ” and search for “Set VPN

  4. By default the action for the Shortcut is “Connect”, which will connect to a VPN. In this case, I wanted a toggle switch to either connect or disconnect a VPN connection. Change this by tapping on “Connect” and change it to “Toggle”.iOS VPN Connection Toggle Shortcut · vNinja.net

  5. Tap on VPN to select which connection you want to use.
    iOS VPN Connection Toggle Shortcut · vNinja.net

  6. Tap the arrow besides your shortcut name again and select “Add to Home Screen”. This brings up a preview of the icon selected and name for the Shortcut. To add it to your home screen, tap on “Add” in the top right hand corner.iOS VPN Connection Toggle Shortcut · vNinja.net

This adds the new toggle shortcut to your home screen, and it should now work like this:

iOS VPN Connection Toggle Shortcut · vNinja.net

A simple click to toggle the VPN connection. Nice!

Post last updated on January 2, 2024: Add author