[SOLVED] Firewall rules inheritance?

Nov 16, 2018
30
4
13
47
Belgium
Hello!

I read several times the documentation about the proxmox firewall trying to understand how this is working. But one point remains obscure for me : does the VM firewall inherit from the top level (Node then datacenter)?

Thx in advance!
 
Hello.

No, there is no inheritance - with two exceptions:

If you create an IPSet called "management" at the Cluster level, it is inherited by the Node firewalls (but not VMs)

If you create an IPSet called "blacklist" at the Cluster level, this is inherited by the Nodes and all VMs (note: The "firewall" option has to be enabled on the VMs in order for the firewall to have any effect at all)
 
Thx! After playing around, I came to the same conclusion. But a confirmation is always good :)

I guess there will be no problem to have iptables / fail2ban running on a VM, right?
 
Thx! After playing around, I came to the same conclusion. But a confirmation is always good :)

I guess there will be no problem to have iptables / fail2ban running on a VM, right?

no. you can use either or both, depending on your use case.