For most of its life, Proxmox VE enjoyed the best kind of security: obscurity through disinterest. It was the hypervisor for people who read release notes, and ransomware crews were busy with bigger fish. That era ended the moment the Broadcom exodus pushed thousands of VMware workloads onto free, Debian-based clusters — attackers follow migration waves, and the case analyses Securelist has published now show Proxmox sitting next to ESXi in real incident write-ups, not as a theoretical target. A weekend-projects roundup that inspired this piece recommends a Proxmox security audit alongside the fun stuff, and I’d go further: the audit outranks the fun stuff.
Why homelabs stopped being exempt
The homelab excuse — “nobody attacks a cluster in a cupboard” — expired the day you put something on it that someone else misses when it’s gone. Client invoicing VMs, family photos, a friend’s mail server, the small business down the road whose backups you host out of kindness. The threat model isn’t a nation-state; it’s an opportunistic crew that finds an exposed management interface on port 8006, sprays credentials at it, and encrypts every disk the cluster can reach. That’s a cheap attack, it scales, and it now has precedent on your platform.
Small business readers get the double whammy: your Proxmox host probably isn’t just virtualization, it’s also the backup server, the NAS, and the firewall’s neighbour. One box, one blast radius.
The one-hour hardening checklist
1. Take 8006 off the general network
The web UI and API live on port 8006, and it should not have line-of-sight from your LAN, wireless, or IoT VLANs. Put management on its own VLAN and firewall the boundary so only your workstation subnet and the VPN can reach it. If your switch can’t do VLANs yet, the interim rule is absolute: never port-forward 8006, and reach the UI over WireGuard or Tailscale instead. This single change defeats the entire spray-and-pray category.
2. Stop being root@pam for everything
Every integration guide says “just use root@pam” because it always works. It always works for attackers too. Do this instead:
- Create a named admin user for yourself, enable two-factor (TOTP at minimum, WebAuthn if your gear supports it), and treat
root@pamas the break-glass account — kept, but never used by scripts. - Give monitoring dashboards and automation their own accounts with least privilege. A graphing tool needs to read status, not migrate VMs.
- Prefer API tokens over passwords for integrations — one token per app, so you can revoke the dead one without a password rotation ceremony.
Token creation is Datacenter → Permissions → API Tokens, and the habit that matters is the note field: write down what each token is for, because in eight months “proxmox-token-3” will be a mystery guarding your hypervisor.
3. Build backups the hypervisor can’t take hostage
Ransomware that owns a Proxmox node owns every datastore that node can write to — including the NFS share with your vzdump files. Backups only count if the cluster cannot destroy them:
- Send backups to a Proxmox Backup Server on separate hardware, and let PBS pull or be administered from elsewhere — not a VM on the cluster it protects.
- Sync or copy off-site (the classic 3-2-1), and enable PBS’s verification jobs so corruption is caught while it’s still boring.
- Encrypt the backup datastore. Encrypted backups of encrypted guests is the only acceptable double-encryption in this story.
Then do the step everyone skips: restore one VM, on purpose, this month. An untested backup is a rumour.
4. Patch it like an appliance you own, not a black box
Homelab lore says “don’t touch a working cluster,” which is how you end up three major versions behind with known CVEs. On the no-subscription repo it’s a monthly habit:
apt update && apt full-upgrade
from each node, in sequence, with the cluster’s own update scheduler or a maintenance window if you prefer. Rolling one node at a time keeps the quorum and keeps you honest about what actually changed when something misbehaves.
The five-minute version
If you only do four things this week:
- Firewall or VPN-gate port 8006 — no exceptions, no “temporarily”.
- Two-factor on every account that can log in to the UI.
- Backups on separate hardware, verified, with one tested restore.
- Monthly patching that you actually do, not intend to do.
The boring project that beats the fun ones
The same roundup that inspired this also suggests trying the new upstream kernel, spinning up LINSTOR, and test-migrating a VMware VM — genuinely good weekends, on a spare node. But precedence matters: a kernel experiment costs you a Saturday if it goes wrong; a ransomware incident on your Proxmox host costs you every VM at once, plus the trust of whoever else’s data lived there. Every workload you migrate onto that cupboard cluster raises its stakes, and the hardening hour is still the cheapest insurance in this hobby. Do it before the next fun project, not after the first bad night.

