[SOLVED] Same firewall rule on all VM(LXC) ?

2cadz

Active Member
Mar 22, 2016
16
0
41
55
Hello,

I test firewall and I have not found how to apply the same rule on all LXC containers.
It seems that the rules defined in the Datacenter are applied to the nodes but not on containers.
There is there a way to apply the same rule on all containers at once ?

Regards.
 
I test firewall and I have not found how to apply the same rule on all LXC containers.

You can use security groups for that (assign the same group to all containers).

It seems that the rules defined in the Datacenter are applied to the nodes but not on containers.

yes, that is how it works.

There is there a way to apply the same rule on all containers at once ?

only with security groups.
 
Hi Dietmar,

It would be really great to be able to inherit certain security groups or apply them to Pools (the only way I know to group VMs) to have something similar like inheritance. I solved it at the moment like you described, but it is a totally manual task.