Key Verification Checks
- Restrict port 8006 web UI strictly to VPN or dedicated management IP ranges
- Enable Datacenter Firewall carefully using explicit management IPSet anti-lockout rules
- Enforce TOTP 2FA on root@pam and day-to-day RBAC operator accounts
1. Locking Down Port 8006 & Avoiding Anti-Lockout Mistakes
Never expose Proxmox management port 8006 or SSH port 22 on public WAN interfaces or general office Wi-Fi subnets. Define a Datacenter-level management IPSet whitelist (covering your WireGuard/IPsec VPN or bastion IP ranges) alongside Corosync UDP 5405–5412 rules before switching policy_in to DROP.
[OPTIONS]
enable: 1
policy_in: DROP
policy_out: ACCEPT
[IPSET management]
10.20.0.0/24 # Management & WireGuard VPN Subnet
[RULES]
IN ACCEPT -source +management -p tcp -dport 8006
IN ACCEPT -source +management -p tcp -dport 22
IN ACCEPT -p udp -dport 5405:5412 # Corosync Cluster2. Three-Tier Firewall Scoping (Datacenter, Node & VM)
Proxmox VE’s built-in pve-firewall manages independent rulesets at the Datacenter (cluster-wide IPSets and management ports), Node (host Ceph/NFS traffic), and individual VM NIC levels. On Proxmox VE 8.2+, the nftables firewall engine also scales cleanly for high-throughput virtual machines.
| Layer | Default Risk | Production Hardened Standard |
|---|---|---|
| Web UI (8006) | Open across all host interfaces | VPN / Management VLAN + Firewall IPSet |
| Authentication | Shared root@pam password | Named RBAC accounts + mandatory TOTP 2FA |
| SSH Access | Password login allowed | SSH key-only + Fail2ban + VPN jump host |
3. RBAC Roles, TOTP 2FA & SSH Hardening
Stop sharing root@pam credentials among staff. Provision individual @pve or LDAP/AD accounts protected by mandatory TOTP or WebAuthn 2FA, issue scoped Privilege-Separated API tokens (such as read-only PVEAudit for monitoring), disable SSH PasswordAuthentication, and enable Fail2ban on both SSH and pvedaemon port 8006.
Interactive Tool · 30-Second Risk Check
Test Your Cluster’s HA & Production Readiness
Answer 4 quick architecture questions on quorum, storage, network isolation, and backups to flag single points of failure before making changes. Proxmox Health Check →
Frequently Asked Technical Questions
Connect via physical server console / iDRAC / iLO KVM and run `pve-firewall stop` to restore temporary access cleanly.
Hands-On Engineering & Consulting
Let’s review this topic against your live cluster
Share your host and VM count; we will define the safest scope in a free 15-minute discovery call.
