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?