Skip to content
Contents
GuidesOpenWrt

The OpenNDS nftables rule count grows every fifteen seconds on OpenWrt

When the portal is idle, the number of rules continues to increase. First, distinguish between new lease assignments, counter increments, and actual duplicate rule insertions. These three scenarios require reading different fields.

Applies to · GL-MT6000 · OpenWrt 25.12.5 · openNDS 10.3.1-r3 · nftables 1.1.x

What to check

Select the openNDS-related chain, and under the same idle client conditions, record the rule count and handle number at intervals of two check cycles.

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

nft list tables
logread -e opennds
nft -a list ruleset | grep -i -e opennds -e nds

How to interpret the result

In two equal-time windows without new authenticated clients, compare only the number of rules and matching conditions within the same table and chain. Stable rule counts with increasing packet counts indicate normal traffic. When identical rules accumulate over time, correlate them with service logs and gateway recognition states at the corresponding timestamps.

Verify and recover

Check a quiet interval for stable rule count, then verify ordinary portal login and expiry. Use the service’s supported recovery procedure without flushing the system firewall.

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

Explore hardware

Comments