Monday, June 27, 2022
HomeiOS Developmentios - NEPacketTunnelProvider not referred to as if onDemand guidelines join

ios – NEPacketTunnelProvider not referred to as if onDemand guidelines join


I am engaged on a Private VPN extension.
I subclassed NEPacketTunnelProvider to begin the connection and the whole lot works nice with my configuration.
However once I set onDemand guidelines, at triggering, the VPN connection goes up with out utilizing my packet tunnel supplier and configuration are unsuitable.
Is there a approach to inform the system to make use of my PacketTunnelProvider even when beginning mechanically?
Principally I would like that to set the dnsSettings.matchDomains of TunnelNetworkSettings that are on the NEPacketTunnelProvider object to resolve contained in the VPN just some domains and go away the opposite resolved from with the device-wide normal dns.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments