Injecting filtering rules

Zulgrib

New Member
Dec 22, 2022
9
0
1
Hello,
Where should I hook to inject iptables rules when the rules are reloaded?
I would like to filter ports at forwarding level for all VMs and the GUI/pve-firewall do not permit that. Configuring each VM one by one is not scalable, having the same rule multiplied by the number of VM makes the filtering rules harder to read for no good reasons while it could be one line in the forwarding table.
 

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!