commands.sh

nft monitor

linux

Show real-time changes happening inside the Linux firewall `nftables`.

More info →

Options (1)

-j, --jsonboolean

Monitor events and print JSON output

Example: sudo nft {{[-j|--json]}} monitor

Examples (4)

Monitor all nftables events

Monitor only rule updates (add, delete, replace)

Monitor set and element updates

Monitor events and print JSON output

sudo nft [-j|--json] monitor
made by @shridhargupta | data from tldr-pages