Home Server with Public IPv6 Address behind Fritz!Box
Overview Situation An internet connection which uses native IPv6 and supports IPv4 through Dual-Stack Lite. The internet provider assigns the Fritz!Box an IPv6 prefix (/59). A server running Debian 12 should be publicly reachable to provide some services. Due to the Dual-Stack Lite, IPv6 is the only way to publicly expose the server. In the Fritz!Box a corresponding fort forwarding is configured. Problem There’s no control over the assigned IPv6 prefix and it might change whenever the internet connection gets reconnected. As the server has a static local IPv4 address, the second part of the IPv6 address should also be static. ...