diff options
Diffstat (limited to 'extensions/libxt_CLASSIFY.txlate')
-rw-r--r-- | extensions/libxt_CLASSIFY.txlate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/libxt_CLASSIFY.txlate b/extensions/libxt_CLASSIFY.txlate new file mode 100644 index 00000000..3b349237 --- /dev/null +++ b/extensions/libxt_CLASSIFY.txlate @@ -0,0 +1,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 |