nhttps://wiki.nftables.org/wiki-nftables/index.php/Ruleset_debug/tracing

1
2
3
4
5
6
7
nft add rule nat post ip saddr 192.168.60.0/24 meta nftrace set 1 oif wlp3s0 masquerade
nft add rule nat post ip protocol icmp icmp type echo-request meta nftrace set 1 accept
nft insert rule nat post ip protocol icmp icmp type echo-request meta nftrace set 1 accept

nft add rule nat post ip protocol icmp icmp type echo-request meta nftrace set 1 log

nft monitor trace