I got two servers with public IPv4 and (now) IPv6 addresses. They have a VPN to do stuff like MySQL replication. With IPv4 I just took a RFC1918 range (10.0.0.0/8) and if you access the server via that range, it went through the VPN. With IPv6 everything has a globally unique address without NAT. How would you assign addresses to the endpoints? I got on each side a /48 subnet.
I see the following possibilities:
- Use a private/documentation/... IPv6 address
- Somehow route the traffic to the public IPv6 address through the VPN
How would you do it? VPN is tinc.