How can i put matchdomains inside the NEApprule object for the iOS using MDM

I am configuring the per app VPN deployment for iOS application and want to configure the match domain per app rules so that only the traffic from that match domain will trigger the VPN for the included app. I found the documentation on portal but I can't find any MDM related page.

https://developer.apple.com/documentation/networkextension/neapprule/1406488-matchdomains

Is this for a VPN transport that you’re developing? That is, an Network Extension provider of some sort? Or any you targeting on of Apple’s built-in VPN transports?

Share and Enjoy

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

I am targeting Network Extension Provider to configure the per app from the MDM, but requirement to include app "com.example.app" but only for ".test.com" and ".domain.com" domains. I do see options of matchDomains tied to NEApprule object, but I am not sure how to use it on the MDM side.

OK. That’s more of a configuration profile question than an API question, so I’m going to bounce this thread over to Business & Education > Device Management.

Sadly, that’s all I can really do here. I’m much less familiar with the MDM side of things than the API side, so I don’t have the answer to your question. Hopefully someone else will chime in.

Share and Enjoy

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

How can i put matchdomains inside the NEApprule object for the iOS using MDM
 
 
Q