Skip to content
Tom Vernon
All projects
2026Infrastructure

Home server and smart home

Zero-port Ubuntu & Docker smart home over Tailscale.

  • Ubuntu
  • Docker
  • Tailscale
  • Home Assistant
  • ESPHome
  • UFW
TAILSCALE TAILNET · DOCKER · ZERO PUBLIC PORTStailnet · WireGuard encryptedPhone / laptopvia exit nodeUbuntu host · Docker + UFWHome AssistantMatter server (host net)ESPHome panels (LAN)0publicportsUFW LOCKEDWAN SCAN BLOCKEDALLOWED · Tailscale WireGuard tunnel → subnet router → Home Assistant
Tailscale Remote · WireGuard encrypted · click any service or shield to inspect
Interactive diagram of how Home server and smart home works.

The problem

Once other people in the house rely on your smart home setup, it can’t keep falling over. It needs to work from away, come back up on its own after a reboot, and not leave random ports open to the internet.

What I built

An Ubuntu server running Home Assistant and a Matter server in Docker on the host network, hooked up to ESPHome wall displays around the house.

Remote access goes through Tailscale, with the box acting as both an exit node and a subnet router for the LAN so nothing has to be exposed publicly. For hardening: key-only SSH (root and password login off), UFW locked down to the LAN and tailnet, Fail2Ban on sshd, and unattended security updates.

What I learned

Keeping things boring makes them reliable. Every service that “just needs one port forwarded” is something you’ll forget about in two years, so keeping everything behind one VPN and one locked-down box saves a lot of headaches.