For example, if the IP Header indicates ICMP, then take that NEPacket and send it over the wire to your packet tunnel server. Is there a way to do this in Transport mode IPsec without a full blown VPN solution? We want a client to client solution without a gateway and without a packet tunnel server. I have been able to parse NEPacket and identify if it is an ICMP protocol but at that point it's already being handled by the tunnel interface. Since there's no option to resume the packet as is, I'm lost as to how to "send it over the wire".
Topic:
Programming Languages
SubTopic:
Swift
Tags: