The trick is one of the tools I like very much: Tailscale.
My AI assistant Zyggy runs on that VM. With Tailscale, my laptop, my phone and the VM are on the same private network, wherever I am. No VPN to configure, no firewall rules to write.
You install it, you log in, and it just works. I almost forgot it was there.
The bots scanning port 22 all day can keep trying. Nobody opens the door.
And it's free for personal use.
First published on LinkedIn.