NEPacketTunnelProvider Get Source app Name or app id in NEPacketTunnelProvider

I've implemented NEPacketTunnelProvider with ipv4Settings everything is fine. I just need app id in PacketTunnelProvider every time any request sent from any app. or request from my single app.

Note: I got the app id in DataFilterProvider, now I'm looking for NEPacketTunnelProvider.

Packet tunnel providers operate in one of two routing modes:

  • Destination IP, which is the default

  • Source app, which is a form of per-app VPN

Information about the source app is only available in the second mode.

Share and Enjoy

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

Completed the setup of per app VPN using MDM & MDM has provided a profile to install on iPhone. when I opened the profile with a text editor it doesn't contain the VPNUUID & ProviderType. My Queries are: 1- From where I can get this VPNUUID & ProviderType? 2- what's steps should I follow after getting these? 3- what will be the updating in my NEPacketTunnelProvider?

NEPacketTunnelProvider Get Source app Name or app id in NEPacketTunnelProvider
 
 
Q