freeradius 3 - nas-identifier - policy

Alan Buxey alan.buxey at gmail.com
Wed May 26 14:15:04 CEST 2021


hi,

> depending the nas-identifier , I want to use a different auth-host.

auth host (ie send the request somewhere else) or auth type (ie do a
different type of authentication)

> authorize {
>         #
>         filter_username
>         preprocess
>
>         if(NAS-Identifier == "wlan1") {
>                 wlan1
>         }
>         elsif (NAS-Identifier == "wlan2") {
>                 wlan2
>         }
>
>         elsif (NAS-Identifier == “wlan3") {
>                 wlan3
>         }
>
> where do I do the policy for wlanX … to set the auth-host and how ?

do, you have defined a named instance of a module (wlan1/wlan2/wlan3)
- but that is it you are trying to do? (as asked above)

alan



More information about the Freeradius-Users mailing list