iOS, is possible to bypass my own packet tunnel?.

Hi all,

For iOS I have implemented a NetworkExtension - PacketTunnel solution that I'm using to redirect DNS traffic to a custom DNS server...
Q: there is a way to make the traffic from the host app to bypass his own tunnel?

Thanks.
What is the use case for avoid using the tunnel for traffic in the VPN's host app? Are you only wanting to create a VPN for DNS handling? If so, there is Network Extensions that you can investigate such as DNSProxyProviders that can handle this in managed device situations.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Hi Matt, thanks for your answer.

The use case doesn't include managed devices, my app collect some data about dns traffic for making some statistics and traffic made by my app alter that statistics. So , for my app scope it's a must to exclude that traffic.

Thanks.
iOS, is possible to bypass my own packet tunnel?.
 
 
Q