Two-site homelab
A home site and a café site joined by a VPN, with one hypervisor, separated networks, an internal certificate authority, monitoring and layered backups.
The problem
I wanted somewhere to practise real operations work (patching, backups, certificates, alerting) on infrastructure that I own and that matters to someone, since the second site is a working café.
Two sites
The shape of it. Everything else on this page hangs off these two boxes.
Both sites run on MikroTik routers, and ZeroTier joins them, so a machine at one site can reach the other as if it were next door. Home has five access points.
Networks
- Separate networks: at home, guests and smart devices get their own networks; at the café, guests and the business equipment do. The routers stop those networks from reaching the private one.
- Two ways to the internet: home runs on VDSL with LTE behind it. A modem that still hands out an address but has no internet would fool a simple route check, so a script on the router pings out through the VDSL line every 30 seconds. After three misses it hands the traffic to LTE, and after three good checks it takes it back.
Compute
One Proxmox server with 12 threads and about 30 GB of memory carries eight virtual machines:
| Role | What runs there |
|---|---|
| Docker hosts (three) | The reverse proxy and console, the file cloud, and a former website |
| Storage | A NAS with network shares |
| Secrets | HashiCorp Vault |
| Monitoring | Zabbix and its database |
| Delivery | A GitLab runner |
| Printing | A print server |
A network KVM gives me the server’s screen and keyboard when it will not boot. Outside the hypervisor there is my workstation, a travel laptop and a living-room PC.
Getting in
Public web services leave through Cloudflare Tunnels. A tunnel connects outwards, so those services need no inbound port on my router. Admin interfaces are reached through my console, behind a sign-in at Cloudflare and another of its own.
Inside, services have private names and certificates from my own authority, renewed by a pipeline. That has its own page.
Watching it

Zabbix problems, as shown in the console.
- Zabbix watches availability and capacity of the servers and the network devices, and checks the public addresses.
- Grafana Cloud receives metrics and logs from thirteen Linux machines.
- Discord is where alerts and job results land.
Backups
| What | How often |
|---|---|
| Monitoring database and configuration | Nightly |
| NAS data to a USB drive | Twice a week |
| Every virtual machine, as an image | Weekly |
| Vault snapshot | Weekly |
| Router and access point configurations | Weekly |
| Container volumes on the Docker hosts | Weekly, or by the application’s own backup |
| Copies to a second disk and to storage off site | Weekly |
The design is layers: local disks, an external drive, object storage and a storage box at another provider, chosen so that losing one of them does not lose the data.
Habits it taught me
- Scripts must be safe to run twice and must say what they did. The failure that matters is the one at 3am with nobody watching.
- A tunnel route is not a lock. It only decides what gets forwarded. I once narrowed a site’s only route to its sign-in path, meaning to protect it. Every other address returned an empty error page for about twelve hours. Protection belongs in the access policy.
- What is in git is not what is running. When I built a page that compares the two, it found scripts that had drifted across most of my hosts.
- Retire things deliberately: keep the data for a grace period, then delete, and remove the monitoring entries so they do not page you.
What I would change
- Make the off-site copy boring. The large encrypted copy has failed more than once with read and write errors over a network filesystem. A layer that fails now and then is not yet a layer I can count on.
- Test every restore. I have restored container volumes as a test, and some other jobs have rehearsals, but not every kind of backup has been proven end to end.
- Remove the single points. One hypervisor carries almost everything, including the monitoring that should tell me it is down.
- Define more as code. Parts are in Ansible and Terraform, but rebuilding a host should need no hand steps at all.