> -----Original Message-----
> From:
> [EMAIL PROTECTED]
eradius.org [mailto:freeradius-users->
[EMAIL PROTECTED] On
> Behalf Of Reynolds, Walter
> Sent: Wednesday, 12 December 2007 00:41
> To: [email protected]
> Subject: Example listed in huntgroup file does not work
>
> I have tried to set up a huntgroup to match based on the
> example that is given in the file itself, but am not getting
> expected results. I want to limit the users that can connect
> to specific NAS's which works well if there is only one NAS
> in the huntgroup, but does not work for more than one. So I
> am sure that there is something simple I am missing
>
> Following is what I have. It will prevent user test3 from
> authenticating on 192.168.2.6, but not .5
>
>
> alphen NAS-IP-Address == 192.168.2.5
> alphen NAS-IP-Address == 192.168.2.6
> User-Name == test1,
> User-Name == test2
Try this:
alphen NAS-IP-Address =~ '^192\.168\.2\.[56]$'
User-Name == test1,
User-Name == test2
Regards,
Frank Ranner
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html