summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_CLASSIFY.txlate
blob: 3150c69ed0628348dfc60700c4c94c91ab886c82 (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'