Hi,
I am implementing a PacketTunnelProvider for a remote-access VPN usecase,
So far I can successfully create the virtual interface and configure it with IP address, subnet mask and route.
I have kept the route as default
Your problem is on line 10. A packet tunnel provider should not create a new instance of
NEPacketTunnelFlow
. Rather, it accesses the packet flow via its
packetFlow
property.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"