I know that Toolbox Pro offers a method for use that allows you to test if a VPN is connected (returns only a yes/no answer).
However, is there a native way within Shortcuts natively that you can do the same, and get the names of the connected VPN’s?
The reason I’m thinking about this is that ProtonVPN has made a public disclosure about a bug in iOS 13.3.1 onwards that permits applications already loaded prior to the VPN being turned on to bypass it due to not disconnecting all existing internet connections on VPN load.
Until Apple fixes the bug, this can be addressed by using flight mode after switching on the VPN; and I’m looking for ways to automate that in shortcuts - including checking that whenever I leave a specific location, ensure that a specific named VPN is loaded.