summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_CLASSIFY.txlate
blob: 3b349237231d8d0a67bdeffd1351727dbddac21d (plain)
1
2
3
4
5
6
7
8
iptables-translate -A OUTPUT -j CLASSIFY --set-class 0:0
nft add rule ip filter OUTPUT counter meta priority set none

iptables-translate -A OUTPUT -j CLASSIFY --set-class ffff:ffff
nft add rule ip filter OUTPUT counter meta priority set root

iptables-translate -A OUTPUT -j CLASSIFY --set-class 1:234
nft add rule ip filter OUTPUT counter meta priority set 1:234