authentication according to nas ip adress

Stefan Winter stefan.winter at
Thu Feb 8 07:56:21 CET 2007


(please send your messages to the mailing list for the benefit of everyone)

> Hey, this problem is almost exactly related to what I'm trying to do which
> is give 2 different responses based on the source NAS ID. The user could
> potentially come from either NAS IP, but they need a specific response that
> is different depending on which NAS they send the request from. Is there a
> way to do this in SQL form?

I prefer doing it in the users file, as in

DEFAULT		Client-IP-Address ==
	Your-Reply-Attribute-Here = whatever,
	Another-Reply-Attribute = stuff

In SQL, this is more difficult because AFAIK the DEFAULT user doens't get 
evaluated here properly. Not sure though.



Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingenieur Forschung & Entwicklung

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: stefan.winter at     Tel.:     +352 424409-1                Fax:      +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the Freeradius-Users mailing list