FreeRadius and SQL

classic Classic list List threaded Threaded
3 messages Options
| Threaded
Open this post in threaded view
|

FreeRadius and SQL

Olivier CALVANO
Hi

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

thanks for your help
olivier
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: FreeRadius and SQL

Alan DeKok-2
On Jun 22, 2020, at 12:15 AM, Olivier CALVANO <[hidden email]> 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.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: FreeRadius and SQL

Olivier CALVANO
perfect thanks ;=)

Le lun. 22 juin 2020 à 23:28, Alan DeKok <[hidden email]> a
écrit :

> On Jun 22, 2020, at 12:15 AM, Olivier CALVANO <[hidden email]> 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.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html