Skip to content
Contents
GuidesOpenWrt

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

Applies to · OpenWrt · LuCI · firewall4 · !100/minute

What to check

In the controlled configuration replica, verify whether the fw4 version can generate the expected nft rules from the reverse rate-limiting expression, and then check if the LuCI field rejects the configuration before saving.

Connect over Ethernet and run the following commands in an SSH session on the router.

fw4 check
fw4 print

How to interpret the result

First verify that the current fw4 build supports this syntax. Then check fw4 check and the generated rules for "limit rate over". If the form initially rejects, investigate the validator. If the generated result is missing the expected conditions, retain the original rule—do not directly relax the policy.

Verify and recover

Verify syntax and inspect the generated match direction before checking the counter with permitted test traffic. Keep independent management access and the saved rules.

Related guide · Verify that custom firewall rules loaded after moving from fw3 to fw4

Explore hardware

Comments