Use network range in hungroups file
Alan DeKok
aland at deployingradius.com
Fri Jan 4 19:49:43 CET 2019
On Jan 4, 2019, at 8:37 AM, Daniel Finger <daniel.finger at ewetel.de> wrote:
>
> I would like to compare the Client-IP-Address to a network in the huntgroup file.
>
> Since FreeRADIUS 2 I am using something like this:
>
> huntgroup1 Client-IP-Address =~ 192\.168\..*
>
> With FR3 I hoped I could use something like:
>
> huntgroup1 Client-IP-Address < 192.168/16
>
> But this results in an Error:
> Error: /etc/raddb/mods-config/preprocess/huntgroups[56]: Parse error (check) for entry huntgroup1: Invalid IPv4 mask length "/16". Only "/32" permitted for non-prefix types
>
> Is it somehow possible with FR3 to compare the Client-IP-Address to a network range in the huntgroups file?
No. The hunt groups (and hints and users file) don't support that. Use "unlang".
Alan DeKok.
More information about the Freeradius-Users
mailing list