summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_connlabel.txlate
blob: cba01d2dd527246a74b26504d75f51fa419b12a1 (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'