NEPacketTunnelProvider route traffic from utun(Virtual) to physical

Hi, I want to know if i can ask NEPacketTunnelProvider to reroute traffic from virtual utun to physical interface?

Let me break it down:

  1. As per includedRoutes, Traffic came on NEPacketTunnelProvider virtual interface(utun).

  2. 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.

I want to know if i can ask NEPacketTunnelProvider to reroute traffic from virtual utun to physical interface?

There is not. I’m pretty sure that we covered this in your previous thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

NEPacketTunnelProvider route traffic from utun(Virtual) to physical
 
 
Q