Grant access to a groups of users to a determinated subnets
Alan DeKok
aland at deployingradius.com
Mon Feb 3 16:26:54 CET 2020
> On Feb 3, 2020, at 8:04 AM, Condor via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
>
> Hi Matthew, thanks for help,
> users:
> test003 Crypt-Password := "$1$Z71ee$Z62hAIPIJbcaMDyHtUN/", Huntgroup-Name == gNetworking Auth-Type = System, Service-Type = Login, Reply-Message = "Hello Test001",
That doesn't make sense. You shouldn't set *both* a password, *and* Auth-Type. Just delete 'Auth-Type := system'
> huntgroup : nothing
> I put theses lines on sites-available/default in section "authorize":
>
> if (&NAS-IP-Address < 192.168.0.0/16) {
Use:
if (<ipv4prefix> &NAS-IP-Address < 192.168.0.0/16) {
Alan DeKok.
More information about the Freeradius-Users
mailing list