[FreeRadius] Help how do I make Expiration

Horas Hajovan Siregar horas at tunneling.my.id
Fri Aug 22 03:05:10 UTC 2025


Hallo @matthew
I don't see, but i try sqlcounter

Using SQL Counter is suitable for total online sessions. I'm currently 
testing a method where the user's first login will expire within the 
desired timeframe. For example, user A gets 1 hour, user B gets 2 hours, 
and so on.


Bdw, why this replay thread not received to my mail,
On 21/08/2025 04:18, Horas Hajovan Siregar wrote:

> The problem: This expiration cannot be calculated automatically per
> login. If you set it directly in radcheck, the user will expire at a
> specific time, not relative to the first login.
> 
> Is there a way to automatically expire a user within the next day upon
> first login, and the user cannot be reused after 1 day?

Did you look at the sqlcounter module like Alan said?

-- 
Matthew


More information about the Freeradius-Users mailing list