[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.
 

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!