Javier de Martín

Results 4 comments of Javier de Martín

I am monitoring my interface changes using [`defaultPath`](https://developer.apple.com/documentation/networkextension/neprovider/1406740-defaultpath) in the provider. There depending on the interface changes I can reconnect/cancel the tunnel. The problem is that in some cases it...

You need to add your this observer in the `NEPacketTunnelProvider` (the network extension target) ``` // Determine the change in physical network interfaces observing the property using KVO let options...

I am solving this at the moment by cancelling the tunnel if that log message is received from the provider. It's a workaround as I am checking if the `String`...

I've solved my issue by cancelling the tunnel when a `KEEPALIVE_TIMEOUT` message is received and also when the `vpnReachability` status is `.notReachable`. By doing so I guarantee my traffic is...