Let's say I have two networks setup like so:

| Host A - IPv6 | ------ [Internet] ------ | Network B - IPv4 |

I want to vpn from Host A to Network B but translate the IPv4 packets to a seperate IPv6 subnet:

| Network B (VPN Server) | --> [ Host A (VPN Client) --> (IPv4 to IPv6 translator) --> (Routable interface) ]

The idea is to have remote IPv4 vpns that conflict with Host A's networks (or eachother) map to a single cohesive IPv6 network (and possibly load connections into a dns server for sanity).

I'm doing pretty much all of this with OpenVPN and iptables on linux. Any suggestions on where to start?

  • This is called NAT64. Many software packages are already available that implement it. See also DNS64. – Michael Hampton Dec 19 '18 at 21:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.