Turn off or Hide VPN iOS Network Extension

My app communicates to another device through a Wireguard VPN. The two devices are configured to only speak to each other in the app through the VPN. Because of this, there is no reason for the VPN to be active (on the iOS device) when the app is not running.

Is there a way to hide the VPN from Settings or have the Network Extension check if the app is running and deactivate itself if the app is not running?

Replies

Is this deployed in a managed environment? If so, it sounds like using per-app VPN would be your best option. That way the VPN is only available to your app, meaning that it’s up/down state isn’t really an issue any more.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Add a Comment