Different Authentication for several devices (several Nas-Ip-Address)

Alan DeKok aland at deployingradius.com
Mon Jul 23 17:08:41 CEST 2007


nicolaskarp at free.fr wrote:
> I want to do this :
> 
> If NAS-IP-Address == 192.168.48.0/24 --> Rewrite Calling-station-id to "Dev"
> else
>   If NAS-IP-Address == 192.168.48.0/24 --> Rewrite Calling-station-id to "Prod"
>   else
>     Do nothing.
>   fi
> fi
> 
> I don't know how check the NAS-IP-ADDRESS attribute and rewrite an other
> attribute (Calling-Station-ID)..

  In what will become 2.0, it's pretty much that easy.

  Check out the CVS head.

  Alan DeKok.



More information about the Freeradius-Users mailing list