Clients.conf attributes, multiples users files.

Nicolas Baradakis nbk at sitadelle.com
Wed Nov 23 12:40:35 CET 2005


Breuer Nicolas wrote:

>  I think the easiest way is to configure the name
>  of the auth files into the clients.conf
>
>  NAS1 : file: users
>  NAS2 : file: users2, etc..
>
>  With this type of config, we can easily manage
>  multiple type of users/ auth with one radiusd
>  on one port..

I'd suggest to have a single users file, and test the NAS-IP-Address
in the attributes of the request.

toto	NAS-IP-Address == 10.0.0.1, User-Password := "azerty"
	Service-Type = Framed-User,
	Framed-Protocol = PPP,
	Framed-IP-Address = 255.255.255.254

titi	NAS-IP-Address == 10.0.0.2, User-Password := "qsdfgh"
	Service-Type = Framed-User,
	Framed-Protocol = PPP,
	Framed-IP-Address = 255.255.255.254

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list