On Wed, Apr 7, 2021 at 6:10 AM Brian Turnbow via Freeradius-Users < freeradius-users@lists.freeradius.org> wrote:
Hello We have an outdated freeradius 2.0 setup that we are looking to upgrade to 3.0. The old setup has a mysql db and we have run into an issue trying to replicate the same configuration with 3.0. We have gotten everything installed and working but in our actual setup we use some regex expressions from the db such as
NAS-Port-Type =~ ^(Ethernet|Virtual|PPPoEoVLAN)$ to filter nas port types or NAS-IP-Address =~ ^(192.168.0.11|192.168.0.227|192.168.0.34|192.168.0.244)$ to filter which nas users can connect from
In 3.0 it seems that the use of regex from a db has been removed.
I don't believe so. We do filtering (with unlang) based on DB values.
Is there a way to make it work ?
Run FR with -X and look at the output. Start with the base config and make small changes until it fails and then report that failure on the mailing list. -m