Same same but no VPS here. I use Tailscale to reach the self hosted XMPP instance, which is containerized. Clients can only reach the XMPP server (directly when on LAN, as white listed devices on Tailscale when not).
It works. The bottleneck is Tailscale, weird issues with Android VPN automation switch over (something about my wife’s Samsung phone really does not like Tailscale. She’s also worried it increases battery drainage when left on) and the fact that using Tailscale instead of VPS is not the moral victory I had hoped for. There’s headscale I suppose, but then I have to deal with self signed certs and…then, and then and then…
It never ends. Problems never end.
I console myself with the fact I’ve made an E2E private family chat service that works without a public-facing server, yet remains accessible outside home with a click of a button. That’s a win.
The problem is that I want it to work as smoothly as a commercial chat service on a shoe string budget, on a Raspberry pi sipping 2W. That and the fact that I’m bloody minded enough to work on it until it does, beyond the point of sanity.