I have the similar question but could not find any answer.
E.g. I'd like to use per-app vpn and setup apprules as
appRules = (
{
matchSigningIdentifier = com.apple.mobilesafari
matchDomains = (
google.com,
)
},
Question: 1. Do I need to setup onDemandEnabled = YES to make sure appRules is working?
2. How to make sure if I close the safari, the vpn is disabled? i.e. Traffic from other apps won't go through VPN?
Thanks,
Yanhua