Huntgroups with NAS-Port-Id or NAS-Port

Alan DeKok aland at deployingradius.com
Fri Oct 18 16:06:39 CEST 2019


On Oct 18, 2019, at 9:52 AM, Jan Hugo Prins <jhp at jhprins.org> wrote:
> 
> In the past I created something to update some variables in the request
> for some corner cases. Is this what I should do here as well?

  To do what?

> Create a policy that is something like:
> 
> update_NAS_Port_Id {
>     if (NAS-IP-Address == "192.168.203.126") {
>         update request {
>             &NAS-Port-Id := "%{request:NAS-Port}"
>         }
>         updated
>     }
> 
> And include this policy in the authorize section of my config?

  Why?  What is the goal?

  Alan DeKok.



More information about the Freeradius-Users mailing list