Skip to content
Contents
GuidesOpenWrt

LuCI 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.

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.

Distinguish the dependency provider from the LuCI menu

From an SSH session on the router, inspect the installed packages, their providers and the simulated installation. In 25.12.6 firewall4 provides uci-firewall, which luci-app-firewall requires. If both are installed and the preview requires no change, record the GUI error and version. If there is no candidate, verify the release and package index. Keep the working firewall installed.

apk list --installed firewall4 luci-app-firewall
apk info --provides firewall4
apk add --simulate luci-app-firewall

Check that the configuration validates and that a live table exists

fw4 check
nft list table inet fw4

Read the provider entry and the result of checking the current configuration

The first command validates the generated configuration; the second reads the table in the running kernel. A successful syntax check and an absent table describe different states. In Network → Firewall, check the expected zones and forwarding directions, then test a permitted client and an isolated network. These checks do not alter the rules or require a reload.

When OpenWrt cannot install a package

Explore hardware

Comments