TTR Networks

Intermediate · nftables and iptables on Debian: host and router firewalls · section 9 of 10

Troubleshooting

✓ Lab-tested 21 October 2026 on Debian 13.7, nftables 1.1.3, iptables 1.8.11

SymptomLikely causeCheck
Everything to the machine is blocked after a changePolicy drop without the ct state established,related accept or service rules you neededThe console; next time use a timed rollback
The current SSH session works, new ones don'tThe new rules don't allow SSH from you; your session survives only because it's establishedTest from a new session before you make a change permanent
nft -f fails with a syntax errorTypo or unsupported expression; nothing was loadedThe error gives line and column; nft -c -f before loading
Office machines can't reach the internetForwarding off, no forward accept rule, or no masqueradesysctl net.ipv4.ip_forward; the forward counter; conntrack -L
A port forward doesn't workDNAT rule not matching (wrong interface or port), or the forward chain doesn't accept itnft monitor trace with a trace rule; ct status dnat accept in forward
Allowed in nftables, still blockedAnother table's chain on the same hook (iptables, Docker) drops itnft list ruleset (all of it); iptables -L -v -n
Rules vanish after a reboot or reloadAdded with commands, not in /etc/nftables.conf; or the service isn't enabledsystemctl is-enabled nftables; put changes in the file
Docker containers lose networking after a reloadflush ruleset deleted Docker's tablesReplace only your own tables; restart Docker
IPv6 stops workingICMPv6 neighbour discovery not allowedicmpv6 type { nd-neighbor-solicit, nd-neighbor-advert, … } accept
No log lines appearNo log rule before the drop, the limit already used up, or (in containers) nf_log_all_netns is 0journalctl -k; the rule's position