Monitor nftables trace events for debugging.

Section: Netfilter and Policy Debugging

Trace nftables packet path

bash
bash
sudo nft monitor trace
Explanation

Monitor nftables trace events for debugging.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Netfilter and Policy Debugging
Reset iptables counters
Zero rule counters before testing packet paths.
OpenIn sheetbashsame section
Show tracked connections
Inspect conntrack table entries.
OpenIn sheetbashsame section
Delete a tracked flow
Remove conntrack state for a given flow.
OpenIn sheetbashsame section
Check IP forwarding
Inspect whether packet forwarding is enabled.
OpenIn sheetbashsame section
Enable IP forwarding
Turn on IPv4 forwarding immediately.
OpenIn sheetbashsame section
Show nftables rules
Display the active nftables ruleset.
OpenIn sheetbash1 tag match