Logical OR with Check Attributes

Gary T. Giesen giesen at snickers.org
Mon Nov 15 19:22:01 CET 2010

I managed to solve the problem thanks to bonok on the #freeradius on
FreeNode IRC... I ended up using the =~ operator, and using a regex


On Mon, Nov 15, 2010 at 12:29 PM, Alan Buxey <A.L.M.Buxey at lboro.ac.uk> wrote:
> Hi,
>> Is there any way to perform a logical OR with the check attributes
>> (specifically with the NAS-IP-Address)?
>> What I'd like to do is to authenticate the user if it's coming from
>> one of a list of NAS-IP-Address values, and reject otherwise.
>> Is this possible?
> yes, many ways. hunt-groups, groups and/or unlang
> all depends on what version of FreeRADIUS you are using
> and how you want to do things.  (you could always use a 3rd party
> system to decide - eg PERL or python script)
> alan

More information about the Freeradius-Users mailing list