I read the tcp packets from NEPacketTunnelFlow by readPacketsWithCompletionHandler, and then I modified the destination IP address and port of the IP packet,and write the changed packet to NEPacketTunnelFlow by writePackets withProtocols.
I start a TCP Server, listen on the destination IP address and port.
But, the TCP server is not receive packet.
And I cannot read the changed packet from NEPacketTunnelFlow by readPacketsWithCompletionHandler.
where is the packet go?
and I set config: tunnelNetworkSettings.IPv4Settings.includedRoutes = @[[NEIPv4Route defaultRoute]];