autenticating with realm null only in one NAS

Alan DeKok aland at deployingradius.com
Tue Feb 26 10:34:46 CET 2008


rgreiner wrote:
> I need to configurate freeradius to allow NULL realms only from one or
> two NAS, and all the other must have a realm in the login. What would be
> the best way to do this?

  "unlang".  Just write the logic you want...

authorize {
	...
	if ((NAS-IP-Address == 1.2.3.4) || (NAS-IP-Address == 2.3.4.5)) ...

	...
}

  Alan DeKok.



More information about the Freeradius-Users mailing list