Page 1 of 1

fair usege policy

Posted: Sun Aug 04, 2013 11:12 am
by faaw
for Example: the speed is 128/512 after downloading 300 MB I want to reduce the speed to 64/128

want quota to comes 300 MB in the next day ...
how to make it ?

Re: fair usege policy

Posted: Sun Aug 04, 2013 11:58 am
by rodolfo
You must go in deep of mangle and queue tree to do it.
Then you can: mangle your traffic using "Connection-Bytes" property, then mark packets in different mode if they are <300MB or >=300MB.
Queue this packets in different speed queues.
To reset the counters each day, you can script at certain time (i.e. 3.00AM) to disable ad re-enable connection tracking (but I am not shure of this).

Re: fair usege policy

Posted: Mon Aug 05, 2013 8:12 am
by faaw
I wanna
created new rule with 300MB daily limit, if the user cross the 300MB, his bandwidth automatically change to 190k for the rest of the day.

I have tow wan bond them and I use hotspot to give user internet