> And how would you route that over L3 network?
Off the top of my head:
- Packet headed somewhere on the internet with an ipv4 address comes from a client device to the home node.
- Home node pops that packet into an ipv6 packet bearing the ipv6 address of the exit server which is then routed over the mesh network
- Exit server takes the ipv4 packet out and does NAT on it (switches the source address to public IP) and sends it out to the internet.
- Response from internet comes back to exit server, the exit server does NAT again (switches the destination address to private IP)
- Exit server puts the packet into an ipv6 packet with the ipv6 address of the home node and sends it onto the mesh (it needs to have kept track of the ipv6 address)
- Home node receives the ipv6 packet, takes the ipv4 packet out and sends it to the client.
I'm not an expert, so there might be some issues with this. Here's an RFC which might be similar:
https://tools.ietf.org/html/rfc7040