Filter or restrict on NAS

Ivan Kalik tnt at kalik.net
Mon Aug 3 16:00:59 CEST 2009


> When AUTHing and ACCounTing, the FreeRADIUS makes some SQL
> queries containing the NAS information.
>
> Currently, on our system, the query SELECTs a function and
> depending on that NAS information brought in the query
> we answer by a Access-Reject if from the bad NAS.
>
> - Is there, in the default FreeRadius proposed SQL schema
> a way to restrict on NAS?

Yes, there are a few ways to do that. But what is "bad" NAS doing in the
clients.conf in the first place? Or do you want to tie users to devices?
To tie the user to a single device you need just NAS IP, for multiple
devices you should use huntgroupss/sqlhuntgroups.

> - Is there a query (or table) just for that usage?

No.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list