[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Help with an example
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Help with an example |
Date: |
Thu, 07 Feb 2002 11:19:03 +0200 |
> However I would like to restrict certain cards/users to certain base
> stations (or NAS's I suppose). How can I get the radius server to deny the
> user if they don't come from a certain set of nas's ?
Use raddb/huntgroups for this purpose. For example, if
raddb/huntgroups had:
NAS1 NAS-IP-Address = 10.10.10.1 NULL
NAS1 NAS-IP-Address = 10.10.10.2 NULL
and raddb/users had:
sample Huntgroup-Name = "NAS1",
Auth-Type = SQL
Service-Type = Framed-User
then user "sample" would be able to log-in only from NAS-es 10.10.10.1
and 10.10.10.2
Regards,
Sergey