Quota and bandwidth limit
Posted: Thu Mar 11, 2010 11:12 pm
Hi Eric!
Ok so my BIG question today is : is there a way to implement gargoyle quota (with a script or something) that could, instead of shutting down WAN when quota is reached, only limit the bandwidth to a set value through qos by example?
The situation I am dealing with is a maximum bandwidth being 120GB and me always going over up to 200GB on ADSL2+.... not very good when you get charged every month 30$ extra.... (ok 30$ extra is not bad for 80Gb EXTRA but still....)
What I've done last month is very simple.... when I reach quota (which is set to 110Gb, I set QoS max speed to the bandwidth left per day divided by 24.... and than divided by 3600 which is approximately what' left on my bandwidth per seconds.... (Qos=(120-%quota/24)/3600)but a script that would do that automatically would be even better!!!
the only thing is... I don't know how to write it and implement it to gargoyle....
any advice?
Thanks
Nikkk
Ok so my BIG question today is : is there a way to implement gargoyle quota (with a script or something) that could, instead of shutting down WAN when quota is reached, only limit the bandwidth to a set value through qos by example?
The situation I am dealing with is a maximum bandwidth being 120GB and me always going over up to 200GB on ADSL2+.... not very good when you get charged every month 30$ extra.... (ok 30$ extra is not bad for 80Gb EXTRA but still....)
What I've done last month is very simple.... when I reach quota (which is set to 110Gb, I set QoS max speed to the bandwidth left per day divided by 24.... and than divided by 3600 which is approximately what' left on my bandwidth per seconds.... (Qos=(120-%quota/24)/3600)but a script that would do that automatically would be even better!!!
the only thing is... I don't know how to write it and implement it to gargoyle....
any advice?
Thanks
Nikkk