Hello,
I would like to achieve this in order to parse DNS datagrams:
- Set the system DNS to some private address, let's say A.
- Route A to tun interface.
- Parse the DNS request received
How do I create an instance of a TUN interface inside a subclass of NEPacketTunnelProvider?
I don't understand that very well. Any clue?
Thanks a lot.