huntgroups file, aclip
Kevin Bonner
keb at pa.net
Thu Dec 29 21:27:23 CET 2005
On Tuesday 20 December 2005 16:03, Adam KOSA wrote:
> Hi all,
>
> google and the wiki search option did not answer my question, it may be
> too dumb to ask. i have the following huntgroup contents:
>
> aclip Calling-Station-Id == 127.0.0.1
> aclip Calling-Station-Id == 127.0.0.11
> aclip Calling-Station-Id == 10.61.11.17
> aclip Calling-Station-Id == 10.61.13.41
> ...
> aclip Calling-Station-Id == 10.61.14.10
> aclip NAS-Port-Type == Async
>
> for restricting the logins to our cisco devices. what i'm looking for
> is the ability to use 127.0.0.0/24 or 127.0.0.1-255 instead of the first
> two lines. the above / and - syntax did not work. is this possible?
> what doc am i missing?
See "man 5 users" and look at the =~ operator. Match on the first 3 octets of
the IP address and it should have the desired effect.
Kevin Bonner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20051229/75c23227/attachment.pgp>
More information about the Freeradius-Users
mailing list