Hello! I'm trying to develop an app using PacketTunnelProvider.
I set up local VPN server, and successfully established UDP session between client and server. Also, I was able to exchange some test packets using session.writeDatagram()
There is problem: It seems that packetFlow.readPacketObjects
does not gather real packets at all.
Unless I set DNS settings for PacketTunnelProvider as
settings.dnsSettings = NEDNSSettings(servers: ["8.8.8.8", "8.8.4.4"])
Then, tunnel does catch only DNS queries.
How can I get all allowed packet traffic? Is it possible? Give me some hints, please
Thank you