I am not really familiar with PVE firewall solution, so it might be that I do not know something that I do not know, but I found this guide [1] from @shanreich on Simple zone with SNAT & DHCP setup.
What I found odd was this part:
Actually, there is two pieces which I can't comprehend:
1. How can restricting DNS "could be used to circumvent other firewall rules", also, why not DNAT it then?
But the more important yet:
2. How come DHCP is not much more of a concern, I absolutely would want to DROP the frames on the FORWARD chain with ebtables as any other firewall rules then based on e.g. IP are completely futile.
Related / resulting question:
Should PVE provide simple "DHCP guard" option for this?
[1] https://pve.proxmox.com/wiki/Setup_Simple_Zone_With_SNAT_and_DHCP
What I found odd was this part:
For the DNS rule, you should additionally set the destination address to the gateway of the network. This allows only DNS traffic for the dnsmasq server. If you don't set it all DNS traffic will be allowed, which could be used to circumvent other firewall rules. DHCP cannot be restricted in the same manner, as it needs to be able to issue a broadcast message at first. Finally, mark both as enabled and save the rules. See the below screenshots for more information.
Actually, there is two pieces which I can't comprehend:
1. How can restricting DNS "could be used to circumvent other firewall rules", also, why not DNAT it then?
But the more important yet:
2. How come DHCP is not much more of a concern, I absolutely would want to DROP the frames on the FORWARD chain with ebtables as any other firewall rules then based on e.g. IP are completely futile.
Related / resulting question:
Should PVE provide simple "DHCP guard" option for this?
[1] https://pve.proxmox.com/wiki/Setup_Simple_Zone_With_SNAT_and_DHCP
Last edited: