FreeRadius and SQL

Alan DeKok aland at deployingradius.com
Mon Jun 22 23:28:13 CEST 2020


On Jun 22, 2020, at 12:15 AM, Olivier CALVANO <o.calvano at gmail.com> wrote:
> a small question, i use FreeRadius with MariaDB Sql serveur
> 
> into my table radgroupreply, i have actually:
> 
> id groupname attribute op value
> 1 Group-Internal-Ftth Service-Type := Framed-User
> 2 Group-Internal-Ftth Framed-Protocol := PPP
> 3 Group-Internal-Ftth Tunnel-Type := 3
> 4 Group-Internal-Ftth Tunnel-Medium-Type := 1
> 5 Group-Internal-Ftth Tunnel-Client-Auth-Id := POP-192.168.1.96
> 6 Group-Internal-Ftth Tunnel-Server-Auth-Id := POP-192.168.1.96
> 7 Group-Internal-Ftth Tunnel-Server-Endpoint := 192.168.1.96
> 
> i use only one tunnel server endpoint, i want now add a second server,
> what is the good attribute ?
>  Tunnel-Server-Endpoint
>  Tunnel-Server-Endpoint:1 and rename first Tunnel-Server-Endpoint in
> Tunnel-Server-Endpoint:0
>   only add  Tunnel-Server-Endpoint:1

  Leave the first one as-is, and add:

 Tunnel-Server-Endpoint:1+= 192.168.2.1

  Use "+=", instead of ":="

  Alan DeKok.



More information about the Freeradius-Users mailing list