Hi
I've tried to use NEOnDemandRuleEvaluateConnection with .neverConnection action like this:
let onDemandRule = NEOnDemandRuleEvaluateConnection()
let evaluateRule = NEEvaluateConnectionRule(matchDomains: ["ipinfo.io"], andAction: .neverConnect)
onDemandRule.interfaceTypeMatch = .any
onDemandRule.connectionRules = [evaluateRule]
manager.onDemandRules = [onDemandRule]
manager.isOnDemandEnabled = true
after successful saving and loading this configuration again (to check that VPN Manager contains this rule). I'm requesting IP address from ipinfo and get VPN IP address instead of IP address of my Wi-Fi network, why it happens?
Thanks