Use it when configuring, checking or troubleshooting Firewall in Proxmox VE.
Proxmox Firewall
Effective packet treatment depends on policy scope, enablement, rule order/matching, interface/bridge path and underlying Linux networking; configured rules are not proof of the observed decision.
1. Firewall levels: datacenter, node, VM/CT (per vNIC firewall=1).
2. Enable at datacenter level only after allowing management (8006, 22).
3. Security groups and IP sets for reuse.
4. Default input policy DROP.
5. Logs per rule.
packet → datacenter/node/VM rules → accept/drop
Context & applicabilityCommon mistakes · platform/version boundaries
A configured allow rule shows policy intent, not that the packet reached/matched it or that the destination application accepted traffic.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Packet → interface/bridge path → Proxmox firewall scopes/rules → Linux forwarding → destination service → return path
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Firewall enabled ≠ intended rule matched.
- No explicit deny in one scope ≠ packet permitted globally.
- Guest firewall option ≠ application listening.
- Connectivity failure can occur before or after the firewall boundary.
pve-firewall status— enabled and runningpve-firewall compile— generated rulescat /etc/pve/firewall/cluster.fw— datacenter rules
ReferenceWhat it is1 section · depth on demand
Firewall levels
| Level | Config file | Scope |
|---|---|---|
| Datacenter | /etc/pve/firewall/cluster.fw | Cluster-wide rules, IP sets, enable switch |
| Node | /etc/pve/nodes/<node>/host.fw | Host traffic |
| VM/CT | /etc/pve/firewall/<id>.fw | Per guest (NIC firewall=1) |
The firewall must be enabled at datacenter level first. Keep management access (8006, 22) allowed before enabling. pve-firewall status and pve-firewall compile help troubleshooting; Proxmox VE 9 uses the nftables backend.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A configured allow rule shows policy intent, not that the packet reached/matched it or that the destination application accepted traffic.
In depth
The Proxmox firewall works at datacenter, node and VM/container levels with security groups, IP sets and aliases, stored in /etc/pve/firewall/.
# /etc/pve/firewall/cluster.fw
[OPTIONS]
enable: 1
[IPSET management]
10.0.10.0/24
[RULES]
IN ACCEPT -source +management -p tcp -dport 8006 -log nolog
IN ACCEPT -source +management -p tcp -dport 22
pve-firewall status; pve-firewall compile | less
Enable the datacenter firewall only after adding rules for 8006/22 from your admin network, or you lock yourself out. VM-level firewalls require firewall=1 on the VM's NIC. Proxmox VE 8.2+ also offers an opt-in nftables-based implementation (proxmox-firewall).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Proxmox VE → Firewall. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Proxmox VE → Firewall reference map
Fast operational boundaries and evidence limits for Proxmox VE → Firewall.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Firewall configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Firewall service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |