I'm new to OpenWrt, so be gentle with me. I've googled for information on this, searched here in the forum, and checked the issue tracker with no luck.
If I create a new zone using LuCI, and give it the same name as the interface for the covered network, it fails to put an "option network" line in /etc/config/firewall. If I create the zone, save it, and come back and add the covered network, it works correctly. This is with OpenWrt 19.07.1 on a D-Link DIR-510L.
Steps to reproduce:
- Network -> Firewall
- Select "Add" in the Zones section
- For "Name" pick a name exactly matching the network you plan to cover.
- Select a single covered network matching the name from the previous step
- Save & Apply
The file /etc/config/firewall will contain a new "config zone" section that does not have an "option network" line. This results in the iptables chains being incorrectly created.
Has anyone else encountered this? I figured I'd ask here before needlessly filing a bug report. Thanks for any info or help.