Keeping my public addresses at Hetzner
If my home connection switches from fibre to mobile data, I'd like people to keep using the same address for my services. Asking everyone's browser to follow my router's change of plans seems like unnecessary work.
The home public address and storage are two of the hardest parts of my setup to make redundant. A second connection usually brings a different address. A spare application instance doesn't solve that, any more than it supplies a missing copy of the data.
Keeping the endpoint somewhere stable
Affordable Hetzner infrastructure in the EU provides public floating addresses and lets me choose where that part of the service runs. I use a virtual private server (VPS) running MikroTik Cloud Hosted Router, or CHR, to route them towards Zebra, my Kubernetes cluster.
These are provider-assigned addresses, not a portable allocation I own. I'd love to explore direct ISP peering and IPv6 options to reduce this dependency. That is an ambition, not the arrangement running here; IPv6 alone doesn't settle stable routing or multi-provider failover.
A client connects to Hetzner's address. CHR forwards the traffic through a WireGuard encrypted tunnel towards home. Cilium, the cluster networking software, advertises selected service addresses to my home router using Border Gateway Protocol (BGP). The home router reflects those routes towards CHR. The Cilium article follows that internal routing exchange.
Client -> Hetzner public address / CHR
|
encrypted tunnel
|
fibre or LTE
|
home router -> service
CHR routes these public destinations rather than translating them to another private service address. Replies need the right return route and public source address, so routing policy and network address translation exceptions matter in both directions.
Using Hetzner's address means I don't publish my residential address as the destination for these services. It reduces that exposure, but doesn't make my home IP undiscoverable through other activities or replace application security.
When fibre fails
The home router can use LTE to reach CHR. The tunnel's transport changes while the address a client uses stays the same. I don't need to wait for a DNS change before clients can find the new path.
The router still has to detect the failure and restore usable tunnel and routing state. I haven't established a measured transition time or a promise that existing sessions survive. A controlled test from outside needs to observe actual service access.
LTE also changes bandwidth and latency. WAN-state alerts matter so that a fallback doesn't quietly become the normal connection indefinitely.
When something else fails
Losing CHR is a different case. Both home connections can work while the public endpoint is unavailable. I need either a rebuild process within the acceptable interruption or a separately designed alternate ingress path. Floating addresses don't configure a replacement router by themselves.
An exercise would recover CHR, restore routing and firewall configuration, and verify an external request and return path. Address movement depends on Hetzner's supported scope and control plane. A provider-wide failure needs another endpoint and a way for clients to discover it. I haven't tested such an alternate ingress system here.
The home router, power, and storage remain dependencies too. Neither LTE nor a working tunnel restores an inaccessible NAS volume.
For one website, a reverse proxy might be enough. I want routed service addresses that stay stable across home connection changes, so the extra networking has a job to do. I enjoy working on it, but I still have to maintain CHR, the tunnel, and the routes after the interesting part is finished.