Guides
OpenWrt installation and firmware guides · firewall4
Identify the hardware revision before choosing firmware. For installation and recovery, follow the branch for your computer and the mode the device enters.
Before you choose
Source linkedfw4 reload runs out of file descriptors on OpenWrt 25.12.4 and rules do not take effect
After the firewall reload command returns successfully, still verify that the kernel has loaded the new rules. Insufficient file descriptors may cause inconsistencies between rule generation, loading, and the final active rule state.
Read guide 02Source linkedLuCI rejects an inverted rate limit. Check how firewall4 handles !100/minute
Reverse rate matching requires form submission, configuration generation, and kernel rule loading. The interface rejection and backend unsupported are two distinct judgment points.
Read guide 03Source linkedFour packets dropped, one log line: check OpenWrt firewall counters
A busy rule can discard every matching packet while logging only a sample. Record the source zone, destination, protocol, port and time of one authorized test before comparing the log with the counter.
Read guide 04Source linkedVerify that custom firewall rules loaded after moving from fw3 to fw4
First, categorize the old rules into router input, forwarding, and router output.
Read guide 05Source linkedDNS fails during an OpenWrt PBR policy reload with Pi-hole and a VPN
During PBR reconstruction, if the VPN endpoint itself relies on DNS within the tunnel, name resolution may cause mutual waiting. Cache hits can mask such startup ordering issues.
Read guide 06Source linkedLuCI cannot find uci-firewall: check the provider and the active firewall rules
On an OpenWrt system using fw4, uci-firewall is a dependency name supplied by a package. The web interface comes from luci-app-firewall. A search that returns no file of the same name is insufficient reason to reinstall the firewall. Keep wired management access while checking the three layers.
Read guide 07Source linkedWi-Fi throughput falls after a reload with hardware offload enabled. Check the fw4 interface list
Wireless reconfiguration will rebuild the interface, and firewall flow tables might still reference the device set from before the reconfiguration. First, record the actual devices before and after the reconfiguration, then compare the hardware offload states.
Read guide 08Source linkedA ZeroTier zone appears empty in LuCI. Check the device wildcard
Dynamic ZeroTier devices may not have corresponding netifd logical networks. When a firewall zone shows empty, verify that the actual device matches the expected configuration.
Read guide