Technical

Proxmox Firewall Not Working: Check the Four Enable Switches

Proxmox Firewall Not Working: Check the Four Enable Switches

Proxmox firewall not working? The rules are probably fine — one of the four enable switches is off. Datacenter, node, guest, and the per-NIC checkbox all have to be on for a rule to actually filter anything.

Detailed close-up of ethernet cables and network connections on a router, showcasing modern technology.

The four switches

Open Datacenter → Firewall → Options. The Firewall setting there is the master switch. If it’s off, nothing below it matters. Then check the node level: click your node → Firewall → Options, same setting. Then the guest: VM or container → Firewall → Options. And finally the NIC itself: on the guest’s Hardware tab, double-click the network device and look for the Firewall checkbox.

All four default to off on a fresh install. That’s why a firewall that was never enabled looks like it’s not working — it isn’t. You have to turn each one on yourself.

What each level filters

The datacenter switch controls whether the firewall runs at all on any guest in the cluster. The node switch does the same for that specific host. The guest switch enables filtering for that VM or container. And the NIC checkbox — that one’s easy to miss — must be checked or the guest’s firewall rules won’t apply to that interface.

So if you’ve enabled datacenter, node, and guest but left the NIC checkbox off, traffic flows right through. That’s the one that gets people.

Detailed close-up of computer components including RAM and cables inside a server or high-performance PC.

Check it in one pass

Don’t guess. Run this on the host to see the actual state:

pve-firewall status

And for a specific VM:

pve-firewall status 100

If it says disabled, you know a switch is off somewhere. The output won’t tell you which one, but at least you know it’s not the rules.

Then go through the four spots in order. Takes two minutes. Beats staring at iptables output wondering why nothing is dropping.

One more thing

If you’re using VLANs on the guest NIC, the firewall checkbox still applies. I’ve seen setups where the trunk works fine but filtering doesn’t because the checkbox is off. Same fix.

For more on VLANs and Proxmox networking, check Assign Multiple VLANs to a Proxmox VM.

Leave a comment

Comments are reviewed before they appear. Your email is never published.