Post

Replies

Boosts

Views

Activity

Reply to How can I programmatically access the NETunnelProviderManager of a Per-App VPN?
In the current situation the container app is used to personalize the VPN connection (i.e., it receives additional payload data from the admin). For security reasons this additional data MUST NOT be provided by the MDM. (This is a legal requirement we cannot work around.) Additionally, the container app shows status information from the Network Extension that goes beyond connected/disconnected. According to my understanding, that's precisely what provider configurations, and sendProviderMessage of NETunnelProviderSession are for. Now, I could try to mimic functionality with shared control files or shared keychain entries, but this makes the architecture more complex and most likely also more fragile. My expectation is that choosing a "Per-App VPN" over a "Device VPN" makes things more secure and more robust.
Jan ’25