Firewall rule order of precedence

NomadCF

Active Member
Dec 20, 2017
28
1
43
43
I cannot seem to find any documentation regarding the firewall rule precedence between a VM, node/host, and the datacenter. Specifically, which level has the ultimate authority when determining if something is blocked or allowed.

For example, let's say I create a rule at the datacenter level to REJECT all port 80 traffic, but I need to allow port 80 for one specific VM. If I then create an ALLOW rule on that (one) VM's firewall (on the Proxmox side), which rule takes precedence?

If the precedence order is such that a VM rule overrides a Node/Host rule, and a Node/Host rule overrides a Datacenter rule, it would be beneficial to have an additional option at the datacenter and node/host levels. This option, perhaps a checkbox per rule, would prevent the Host/VM from overriding the higher-level rule. This would ensure those rules are applied before the lower-level rules, while the "non-checked" rules would load later as usual.
 
VM/CT rules and Datacenter/Host rules are completely separate and do not effect each other. Host rules have precedence over Datacenter rules and can be used to override Datacenter rule. VM rules are completely independen from Host / Datacenter rules.
 
  • Like
Reactions: _gabriel

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!