Disconnect the user if reach the limit

Alan DeKok aland at ox.org
Mon Feb 27 20:02:20 CET 2006


Yudi Wijaya <yudiw at centrin.net.id> wrote:
> >   For 50MBytes, it's not really possible.
> + is there any trick of it? i really want implement that, so when
> user reach 500 MBytes will be disconnect and can not login until they
> re-fill the deposit.

  The most you can do is to write a script that runs when accounting
packets are received.  If the user is over their limit, that scrip can
do something (it depends on the NAS) to the NAS to disconnect them.

  Alan DeKok.




More information about the Freeradius-Users mailing list