Hi @meaton,
One more clarification:
Is my understanding correct for Apple's recommend approach, please correct me if I am wrong at any place:
PacketTunnelProvider class in NetworkExtension framework can be used to activate and configure the utun interface.
Now to define the network rules:
either use "NEPacketTunnelNetworkSettings, ipv4Settings" settings
or use "route add " command to route traffic on utun interface manually
Now for tunneling IP-Packets, read/write operation can be directly done on the utun interface either by an app/service inside or outside the App Group.
TIA
Topic:
App & System Services
SubTopic:
Drivers
Tags: