snippetbashTip
nft monitor — Show real-time changes happening inside the Linux firewall `nftables`. More information: <https://ma
Viewed 0 times
commandshownft monitorhappeningclirealtimechanges
linux
Problem
How to use the
nft monitor command: Show real-time changes happening inside the Linux firewall nftables. More information: <https://manned.org/nft#head21>.Solution
nft monitor — Show real-time changes happening inside the Linux firewall nftables. More information: <https://manned.org/nft#head21>.Monitor all nftables events:
sudo nft monitorMonitor only rule updates (add, delete, replace):
sudo nft monitor rulesMonitor set and element updates:
sudo nft monitor setsMonitor events and print JSON output:
sudo nft {{[-j|--json]}} monitorCode Snippets
Monitor all nftables events
sudo nft monitorMonitor only rule updates (add, delete, replace)
sudo nft monitor rulesMonitor set and element updates
sudo nft monitor setsMonitor events and print JSON output
sudo nft {{[-j|--json]}} monitorContext
tldr-pages: linux/nft monitor
Revisions (0)
No revisions yet.