in reply to Michael Jack

if you want to get crazy you can mimic this and get a VPS public IP onto that Raspberry Pi

blog.feld.me/posts/2025/03/sta…

in reply to Michael Jack

yes, so with the simple method of getting your VPS provider to assign additional static IPs to your VPS and Proxy ARP, you can "teleport" the static IP to your home over the WireGuard tunnel. The IP is not actually assigned to any interfaces on the VPS and you get to avoid NAT, needing X-Forwarded-For, etc. All your server logs will have the real public IPs 🀠

Plus you can leverage the VPS provider's DDoS protection 😎 (you also gain that with NAT or reverse proxying, but it's another good reason to not use your home ISP's public IP directly)

Another advantage of either design is that you could have multiple internet connections at home for redundancy. The WireGuard tunnel is perfect for this. I do this with a hotspot that has unlimited data. I'll be moving next week and changing ISPs but none of my network configuration for my servers needs to change. I'll keep the same IPs because they're ~in the cloud~ πŸ™ƒ

⇧