I was trying to get an easy way to automate toggling my Wireguard VPN conection on and off when I left the house or for certain times of day. Unfortunately wiht the standard iOS settings or the Wireguard app there is no way to autmoate this that I have found. I did however discover some custom URLs for getting to certain VPN and DNS settings via shortcuts. So I can get all the way to the VPN setting but there is no way to make it toggle as far as I can tell. here are all the URL’s I discovered while looking into this, as most guides still refer to the VPN shortcut the old way. I found this list useful in my research, though it is out of date.
To jump to the VPN settings:
TO jump to a specific VPN configuration:
For example I have a wireguard configuration called “iPhone”, so to jump to that the URL would be:
You can also add or delete VPN configurations from here too.
Delete a configuration:
To jump to the DNS settings, there is no way I have found to do naything more specific with DNS settings yet: