Internet Blocked after VPN disconnection. Need to restart the iOS 17 device to bring network back

iOS 17 issue:

I am connecting to VPN connection with configuration as full tunnel which is tunneling all the traffic generated on my device which is expected.

This is for Full Tunnel and Tunnel routes:

//Below is the NEPacketTunnelProvider configuration

tunnelProvider.protocolConfiguration.includeAllNetworks = YES; tunnelProvider.protocolConfiguration.excludeLocalNetworks = NO; tunnelProvider.protocolConfiguration.enforceRoutes = NO;

But Once I disconnect and kill the NEPacketTunnelProvider instance, My internet is blocked until I restart the device.

NOTE: This behavior is not seen with iOS 16 and below and things work smooth.

Kindly update as soon as possible.

But Once I disconnect and kill the NEPacketTunnelProvider instance

Do you do something special to “kill” the packet tunnel provider? Or is it terminated by the system normally, as part of the standard disconnect process?

Share and Enjoy

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

Internet Blocked after VPN disconnection. Need to restart the iOS 17 device to bring network back
 
 
Q