Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Proxmox Firewall

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting Firewall in Proxmox VE.

First 30 seconds

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.

Operational verification

packet → datacenter/node/VM rules → accept/drop

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

A configured allow rule shows policy intent, not that the packet reached/matched it or that the destination application accepted traffic.

Platform / version applicability
proxmox-ve
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformproxmox-ve
Scope / prerequisiteUse it when configuring, checking or troubleshooting Firewall in Proxmox VE.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • pve-firewall status — enabled and running
  • pve-firewall compile — generated rules
  • cat /etc/pve/firewall/cluster.fw — datacenter rules
ReferenceWhat it is1 section · depth on demand

Firewall levels

LevelConfig fileScope
Datacenter/etc/pve/firewall/cluster.fwCluster-wide rules, IP sets, enable switch
Node/etc/pve/nodes/<node>/host.fwHost traffic
VM/CT/etc/pve/firewall/<id>.fwPer 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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docproxmox-ve current

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%
Terminology layer

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.

Aliases that resolve here
proxmox firewallpve firewalldatacenter firewall proxmoxvm firewall pve
Embedded reference data

Quick lookup tables

Proxmox VE → Firewall reference map

Fast operational boundaries and evidence limits for Proxmox VE → Firewall.

BoundaryWhat to verifyEvidence limit
Configured stateExpected Firewall configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant Firewall service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident
Confirmation

Confirm action

Continue?