Floating IP challenge


Ok, I'll share the ultimate guerilla-selfhosting challenge I can't figure out yet: what if my internet connection is G5 prepaid sim card in the middle of the woods (it actually is)? Apparently, I do have IPv6 more or less stable (undocumented), but that's kind of limiting at times. Seems barely possible, but!

The homebrewserver.club/low-tech-w… states:

The fiber connection itself is not necessary, especially if you keep your data footprint small, but a fixed IP adress is very handy.


which kind of implies someone figured out a way to get around it. Would someone share the trick?

Als Antwort auf Alexander

No, typically you use the DNS server of the domain provider.

Hosting your own DNS server is possible, but if you don't have a static IP address the other DNS servers will have no idea which server to ask when your IP changes, so in this specific scenario it wouldn't work. And in general it isn't really worth it as you get a DNS server with your domain included.

Als Antwort auf Alexander

Assuming you are not in a CGNAT, which is common for mobile networks: DNS with low TTL such as FreeDNS, pointing to your IP. And ofc, if you have a router in between, port-forwarding.

Otherwise, a VPN such as Tailscale. But you would need to install it on all your devices.

Otherwise, for HTTP(S) web services, a reverse-proxy such as CloudFlare.

Dieser Beitrag wurde bearbeitet. (Montag, 27. April 2026, 09:09)
Als Antwort auf Alexander

@Alexander

I tested a 5G connection as failover for a few weeks.

My homeserver connected to a very small VPS, routing traffic through Wireguard. So the public IPv4/v6 remained constant, even when the gateway switched between WAN connections.

Selfhosted hat dies geteilt.

Als Antwort auf Alexander

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer LettersMore Letters
CGNATCarrier-Grade NAT
DNSDomain Name Service/System
HTTPHypertext Transfer Protocol, the Web
IPInternet Protocol
NATNetwork Address Translation
VPNVirtual Private Network
VPSVirtual Private Server (opposed to shared hosting)

[Thread #258 for this comm, first seen 27th Apr 2026, 09:20]
[FAQ] [Full list] [Contact] [Source code]

Dieser Beitrag wurde bearbeitet. (Dienstag, 28. April 2026, 15:00)
Als Antwort auf Alexander

I have a $5/mo VPS that my domain points to. It runs caddy reverse proxy to my homelab over wireguard. If my home IP changes, the wireguard 'server' has the the IP of the VPS wg 'client' configured as the Endpoint, with no endpoint set on the VPS. It will switch over pretty quick.

anders94.medium.com/wireguard-…

forum.netgate.com/topic/188527…

Als Antwort auf Alexander

When IPv6 was first created, the dream was that your machine would get a new IP address any time the whole network felt some need for that. The idea was, as someone added a network, we may need to change the way your systems are numbered in order to make the backbone routing a lot easier to fit in memory. This hasn't seemed to work out, but that was the dream.