[FreeRadius] Help how do I make Expiration
Alan DeKok
aland at deployingradius.com
Wed Aug 20 19:06:37 UTC 2025
On Aug 20, 2025, at 9:31 AM, Horas Hajovan Siregar <horas at tunneling.my.id> wrote:
> Hello, I'm having a problem creating a user that, when logged in, will not be able to be used again for 1 hour after logging in.
>
> I tried using session-timeout, but I can still log in for the next hour. I was hoping to prevent logging in again after 1 hour.
Session-Timeout is only for one session. If you want to limit total time across multiple sessions, see the sqlcounter module.
> I found sources from several articles using the Expiration attribute,
Or you could look at the official FreeRADIUS documentation: https://www.freeradius.org/documentation/freeradius-server/3.2.8/
> but I'm having a problem where it doesn't count as 1 hour after logging in.
Is the NAS sending accounting packets?
> Please help.
>
> I use freeradius
>
> root at rad:~# freeradius -X
> FreeRADIUS Version 3.0.26
> Copyright (C) 1999-2021 The FreeRADIUS server project and contributors
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE
I have no idea why you think posting that will be useful. It's not.
http://wiki.freeradius.org/list-help
There is a huge amount of documentation on how to run the server and debug it. It helps to read the docs.
Alan DeKok.
More information about the Freeradius-Users
mailing list