Iptables rules to limit time & quota based access

Here are the rules i have add to my GNU/Linux Firewall to limit time and quota for my kids for internet and Xbox live

To limit Quota ( I have just allotted 2GB will increase later on)

iptables -I FORWARD 5  -s 172.16.0.33 -p tcp -m quota –quota 2147483648 -j ACCEPT

iptables -I FORWARD 6  -s 172.16.0.33  -j DROP

For quota ofcourse i have to reset the quota again. I will try to automate it some how

To limit time

iptables -I FORWARD 7 -s 172.16.0.33 -p tcp -m multiport –dport http,https -o eth0 -i eth1     -m time –timestart 16:00 –timestop 18:00 –weekdays Mon,Tue,Wed,Thu,Fri,Sat,Sun -j ACCEPT

Reference:  http://linuxgazette.net/108/odonovan.html

(Above said link had a little typo in time based rule is –days instead of –weekdays