fix(#2363): open UDP 67 on the bridge — host firewall dropped DHCP requests

This commit is contained in:
müde 2026-07-13 15:24:56 +02:00
commit e13a2cb33a
2 changed files with 14 additions and 3 deletions

View file

@ -163,9 +163,16 @@ in
}
];
# DNS only on the bridge interface — no external amplification surface.
# DNS + DHCP on the bridge interface only — no external amplification
# surface. UDP 67 is required for the dnsmasq DHCP pool: dnsmasq
# receives DHCPDISCOVER via a regular UDP socket (no netfilter-bypassing
# raw socket like ISC dhcpd), so without this hole the host INPUT chain
# drops the broadcasts and every container falls back to IPv4LL.
networking.firewall.interfaces.${cfg.bridgeName} = {
allowedUDPPorts = [ 53 ];
allowedUDPPorts = [
53
67
];
allowedTCPPorts = [ 53 ];
};
})