diff options
Diffstat (limited to 'extensions/libxt_quota.txlate')
-rw-r--r-- | extensions/libxt_quota.txlate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/libxt_quota.txlate b/extensions/libxt_quota.txlate new file mode 100644 index 00000000..91142141 --- /dev/null +++ b/extensions/libxt_quota.txlate @@ -0,0 +1,5 @@ +iptables-translate -A OUTPUT -m quota --quota 111 +nft add rule ip filter OUTPUT quota 111 bytes counter + +iptables-translate -A OUTPUT -m quota ! --quota 111 +nft add rule ip filter OUTPUT quota over 111 bytes counter |