Hi, I want to know if i can ask NEPacketTunnelProvider to reroute traffic from virtual utun to physical interface?
Let me break it down:
-
As per includedRoutes, Traffic came on NEPacketTunnelProvider virtual interface(utun).
-
After parsing packet if in case for some condition matches (such as port number etc), i want to route it via physical interface. Can we achieve this?
Raw Socket can't be opened in System Extension hence i can't go via this route.
I don't see any ways in NEPacketTunnelProvider / NEPacketTunnelNetworkSettings to achieve this.