Hello everyone,
I’m running into a serious issue with DHCP when using the Proxmox VE firewall. I want to summarize the problem here and hopefully get confirmation or solutions from the community.
Setup:
Observed behavior:
What has been checked / attempted:
Observations from testing:
Important notes:
Questions:
I hope someone can confirm this behavior or provide a reliable workaround.
I’m running into a serious issue with DHCP when using the Proxmox VE firewall. I want to summarize the problem here and hopefully get confirmation or solutions from the community.
Setup:
- VM: Ubuntu 24.04
- Proxmox VE: latest stable release
- Network setup: bridged (vmbr0)
- VM network device firewall: enabled
- VM firewall: enabled (yes)
- VM firewall options:
- DHCP: yes
- NDP: yes
- Router Advertisement: yes
- MAC filtering: no
- IP filtering: no
- Input policy: DROP
- Output policy: ACCEPT
Observed behavior:
- When the VM NIC firewall is enabled, the VM does not receive an IP address from the physical DHCP router.
- When the NIC firewall is disabled, DHCP works perfectly.
What has been checked / attempted:
- UDP ports 67 and 68 are allowed at all levels: Datacenter, Node, VM
- Directions: all combinations of IN/OUT, all sources and destinations
- Broadcast traffic should be passing
- Logs show DHCP packets are not blocked by the host firewall, but they never reach the VM when VM NIC firewall is enabled
- Even when firewall is set to IN ACCEPT ALL and OUT ACCEPT ALL, still no ip when VM NIC firewall is enabled.
Observations from testing:
- It appears that Proxmox NIC firewall blocks DHCP broadcasts at a low level, even when the correct ports are open.
- Even with all rules set to “ACCEPT”, DHCP fails.
- DHCP works fully if the VM NIC firewall is off, despite the same rules being applied on Node and Datacenter levels.
Important notes:
- I only want to enable the NIC firewall because when enabled, you can view the firewall logs...
And thats important for me, i like to monitor it.
Questions:
- Has anyone experienced the same with Ubuntu VMs (or other VMs) and the Proxmox VM NIC firewall?
- Are there any known workarounds to make DHCP work without fully disabling the NIC firewall?
I hope someone can confirm this behavior or provide a reliable workaround.