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

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