Apply common rules to all VM

jmartinb

Member
May 5, 2014
8
0
21
Hi,

I'm trying to setup the new 3.3 firewall to get rid of our dedicated firewall box and get faster acces to all the CT's.
I would like to have a common set of rules that apply to all VM/CT, for example enable Ping and web access and limit ssh to a group of management IP addresses.
All our VM/CT are on separated subnets from the HW nodes, and I've tried to define these rules in Datacenter view, setting theses subnets as the destination address (via ipset).
However, after some trial and errors I've found that it's not possible to do that as the rules do not apply. Has anyone tried this setting?

Thanks a lot.
 
Hi,

datacenter rules apply only the proxmox hosts (INPUT|OUPUT iptables).

But, you can create a security group at datecenter level, with somes rules inside.

then add this security group on each vm firewall.
 
Thanks spirit.
That's what I suspected from the iptables rules generated by Proxmox firewall.
I will follow your advice about creating a new security group with a common set of rules.
Best regards.
 

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!