I have tried to set quota for some of my devices in my network
it was like that
iptables -t mangle -A OUTPUT -s 192.168.2.10 -p tcp -m quota --quota 2684354560 -j ACCEPT
iptables -t mangle -A OUTPUT -s 192.168.2.10 -j DROP
iptables -t mangle -A OUTPUT -s 192.168.2.11-p tcp -m quota --quota 2684354560 -j ACCEPT
iptables -t mangle -A OUTPUT -s 192.168.2.11 -j DROP
iptables -t mangle -A OUTPUT -s 192.168.2.12 -p tcp -m quota --quota 2684354560 -j ACCEPT
iptables -t mangle -A OUTPUT -s 192.168.2.12 -j DROP
but suddenly router stop and no internet over WIFI or ethernet and Icould not communicate to my router and I had to reset it can any one help me what is wrong
thanks.
I have tired to write the rules in new way and it is worked
but i do not why
the new way rules are
iptables -A forwarding_rule -s 192.168.2.14 -m time --timestart 8:00 --timestop 8:30 -j ACCEPT
iptables -A forwarding_rule -s 192.168.2.14 -j DROP