Use network range in hungroups file

Daniel Finger daniel.finger at ewetel.de
Fri Jan 4 14:37:49 CET 2019


Hi!

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?

Sincerely,
Daniel



More information about the Freeradius-Users mailing list