I want to run isc dhcpd server in lxd (lxc) container. But it does not recive clients requests (DHCPDISCOVER, DHCPREQUEST) from clients without this rule:
iptables -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
I had prepared new rules to replace:
iptables -A FORWARD -d $DHCP -p udp --dport 67:68 --sport 67:68 -j ACCEPT
iptables -A FORWARD -s $DHCP -p udp --dport 67:68 --sport 67:68 -j ACCEPT
iptables -A FORWARD -i br-eth0 -m pkttype --pkt-type multicast -j ACCEPT
But it seems to me that this is not enough. To be precise - this is not enough.
I must allow broadcast another way ?