Disconnect Online User

Chris L cjl at viptalk.net
Wed Jul 27 08:34:36 CEST 2011


On Jul 26, 2011, at 11:19 PM, Alan DeKok wrote:

> dulan wrote:
>> i need to disconnect online user automatically when complete his download
>> capacity (like prepaid).how can i configure it in freeradius. 
> 
>  You don't.  RADIUS doesn't really do that.

Well, if you know in advance, at AA time, how much the session is allocated to transfer and *IF* your NAS supports something like Acct-Session-Output-Octets, Session-Octets-Limit, etc, you should be able to set that to a specific value as a Reply Item and the NAS *SHOULD* disconnect the user when that limit is reached.  Good luck.





More information about the Freeradius-Users mailing list