Homelab · The Build Series
Homelab security basics: protect the management plane first
A homelab’s crown jewels are not the media files — they are the admin interfaces that control everything. An attacker (or a worm, or a curious gadget) who reaches the Proxmox login owns every VM. Security basics means defending in the order attackers actually walk: management plane first.
Published Nov 20, 2026
Rule 1: the management plane lives alone
Proxmox’s web UI (8006), the switch and AP admin pages, the firewall’s admin, the NAS admin, iDRAC-style BMCs — these belong on the management VLAN (VLAN 99 in the architecture guide), reachable from your one admin device and from nowhere else: not from IoT, not from guests, not from the kids’ VLAN, and never, ever from the internet. This single rule retires most homelab compromises, because the realistic attacker is not a nation state — it is a compromised gadget or a phished password looking for a soft admin page on the flat network it landed on. Segmentation you already built for tidiness turns out to be the security model; this guide is mostly about not punching holes in it.
Rule 2: keys, not passwords, on anything that speaks SSH
Every Linux box in the lab: key-only SSH (PasswordAuthentication no), root login by key or not at all, and a unique admin account rather than a shared one. Proxmox gets the same treatment plus its own discipline: a dedicated API user with a privilege-separated token for integrations (the Home Assistant guide shows the pattern), two-factor on the web UI if your threat model includes the LAN itself, and no service account with more role than its job — PVEAuditor exists because monitoring should not be able to delete VMs. Passwords that remain live in the password manager, unique per service, full stop.
Rule 3: exposure is a list, and it should be short enough to recite
Nothing in the lab is port-forwarded by default. Remote access arrives through a VPN-shaped door — Tailscale or WireGuard (the access comparison works through the options) — and services the public genuinely needs go through a reverse proxy with authentication in front (the SSO guide), on the DMZ segment if they face the internet. Cameras get no internet at all (VLAN 40's rule). Write the exposure list into the documentation; if an entry cannot be justified in one sentence, it closes. UPnP on the firewall: off, permanently — it is a mechanism for devices to edit your exposure list without asking.
Rule 4: updates are a cadence, not an event
Most lab compromises use known holes in unpatched software. The cadence that works: hypervisor and firewall updates monthly (Proxmox’s no-subscription repository makes this free; Home Assistant will even surface pending node updates via the integration), container images on a watched schedule (the Watchtower guide covers the auto-update tradeoffs), NAS firmware with the security releases, and — the forgotten tier — switch/AP/IoT firmware inventoried in the documentation so it exists in your head at all. Automate the notifications; keep the applying deliberate for the firewall and hypervisor, whose changelogs deserve a skim and whose reboots deserve a chosen moment.
The last line is backups. Segmentation, keys and patching reduce the odds; the 3-2-1 backups — with one copy the lab cannot reach to encrypt or delete — decide whether the worst day is an incident or a catastrophe. Ransomware that owns the lab should still not own the backups.
Official documentation and references
- Proxmox VE documentation — user management, roles and API tokens
Frequently asked questions
Is a separate management VLAN overkill for a home lab?
It is the highest-value hour in lab security. The devices most likely to be compromised (IoT gadgets, a kid’s laptop, a guest phone) are exactly the ones a flat network lets browse to your Proxmox login page. You already own the managed switch and the VLANs — the management segment is configuration, not purchases.
Should I use a jump host instead?
A jump host (one hardened box you SSH through to reach management) is the stricter pattern and worth it once the lab spans sites or other people admin it. For a single-admin home lab, management-VLAN + key-only access from one device reaches most of the benefit with none of the friction — and friction is what makes people bypass their own security.
What about fail2ban and antivirus?
Fail2ban helps on anything internet-facing that still takes password attempts — which, under Rule 3, should be nothing. Spend the effort on the exposure list and keys first; add fail2ban to the reverse proxy if you run one. Antivirus on Linux lab hosts is rarely the best use of attention compared with patching cadence.
The Homelab Build Series · Stage 6 · Operate
This guide is step 19 of 20 in a single build sequence: plan, hardware, network, platform, integration, operation. Each step assumes the ones before it and sets up the ones after.
← Previous: Documenting your homelab · Next: The reference homelab build → · The whole build, in order — the homelab hub

