In my iOS VPN app the user can change between full tunnel or split tunnel. With full tunnel the PacketTunnelProvider includedRoutes are set to defaultRoute and in split tunnel the includedRoutes are set to what the user has configured.
When going from full tunnel to split everything works as expected and I see the routing table change and packets flow as expected.
However, when going from split tunnel to full, even though I see the routing table updated with the default route setting, I am seeing no packets coming in on my readPacketsWithCompletionHandler for my TUN interface.
I know the interface is active because I can bind to it and send data just fine (as a test) but nothing in the system appears to be working.
I do the same exact thing in macOS and it works flawlessly.
Thoughts?