How can allow or disallow apps to access VPN

Hi Apple.

Can IOS allow or disallow apps to access VPN ?

Android supports APIs to allow or disallow apps to access VPN.
  • - VpnService.BuilderaddAllowedApplication(String packageName)Adds an application that's allowed to access the VPN.

  • - VpnService.BuilderaddDisallowedApplication(String packageName)Adds an application that's denied access to the VPN connection.

Does IOS support allow or disallow Apps to access VPN ?

I found includedRoutes and excludedRoutes API, but they are for IPv4 and IPv6. Not app based. Like YouTube, Skype or Team Apps may use different servers for video, voice or other services.


Replies

iOS supports the notion of per-app VPN, but only in a managed context (MDM). There’s no way to set this up for normal users.

Share and Enjoy

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