Reply based on NAS-IP-Address

Alan DeKok aland at
Tue Dec 15 23:00:38 CET 2020

On Dec 15, 2020, at 3:40 PM, Piotrek S. <komuch at> wrote:
> I have two radius servers (FR v2.2.8) running with postgresql backend.

  You should really upgrade to 2.2.10 at least.  Or perhaps v3.

> There is modified authorize_reply_query - many SQL joins to get all
> information required by NAS (for traffic shaping, access groups, ip
> address, etc.)
> Everything works fine but... I need to run another NAS (BRAS) from another
> manufacturer...
> Another device requires different attributes so i need to rebuild
> configuration for radius.
> Is there any possibility to define many authorize_reply_query based on... i
> don't know, huntgroup maybe?
> ... or maybe the only solution is to run another instance (with different
> SQL queries) of freeradius?

  The best way is to just run different SQL modules.

  Alan DeKok.

More information about the Freeradius-Users mailing list