Hello,
I try to limit my internet transfert by using "quota" with iptables.
These are my rules to limit 10MB of data transfert:
Code:
iptables -A OUTPUT -p tcp -m multiport -m quota --dport 80,443 --quota 10240000 -j ACCEPT
Code:
iptables -A OUTPUT -p tcp -m multiport --dport 80,443 -j DROP
When checking my transfert by using "iptables -L output -v", the byte column doesnot match the ammount given by my router.
iptable shows 2M, wehreas router and ISP tell me 10M (input + output). There is too much difference.
Could some one tell what is wrong.