xref: /aosp_15_r20/external/iptables/extensions/libxt_NFLOG.txlate (revision a71a954618bbadd4a345637e5edcf36eec826889)
1iptables-translate -A FORWARD -j NFLOG --nflog-group 32 --nflog-prefix "Prefix 1.0"
2nft 'add rule ip filter FORWARD counter log prefix "Prefix 1.0" group 32'
3
4iptables-translate -A OUTPUT -j NFLOG --nflog-group 30
5nft 'add rule ip filter OUTPUT counter log group 30'
6
7iptables-translate -I INPUT -j NFLOG --nflog-threshold 2
8nft 'insert rule ip filter INPUT counter log queue-threshold 2 group 0'
9
10iptables-translate -I INPUT -j NFLOG --nflog-size 256
11nft 'insert rule ip filter INPUT counter log snaplen 256 group 0'
12
13iptables-translate -I INPUT -j NFLOG --nflog-threshold 25
14nft 'insert rule ip filter INPUT counter log queue-threshold 25 group 0'
15