summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_connlabel.txlate
blob: 5be422044637d27890b0fefc2634f3c01b680e8c (plain)
1
2
3
4
5
iptables-translate -A INPUT -m connlabel --label bit40
nft add rule ip filter INPUT ct label bit40 counter

iptables-translate -A INPUT -m connlabel ! --label bit40 --set
nft add rule ip filter INPUT ct label set bit40 ct label and bit40 != bit40 counter