Hi everyone,
I'm reviewing my firewall configuration on OpenWrt (using fw4) and had a question regarding the necessary rules for the WAN interface, specifically for DHCP client operation.
I know that:
- UDP port 68 is used by the DHCPv4 client
- UDP port 546 is used by the DHCPv6 client
and the default configuration has firewall rules that allow input on these ports on the WAN interface.
I've noticed that fw4 also includes rules that accept traffic matching established and related connections. Given this, is there any good reason not to disable the default firewall rules for UDP ports 68 and 546, given that it seems like the aforementioned connection tracking handles DHCP requests fine?