Bind radius client requests to a database
Ti Ti
tt91em at gmail.com
Fri Sep 22 16:20:36 CEST 2017
>
> > Hello, I've the following freeradius configuration that I use to bind
> radius
> > clients to a specific db.
>
> I'm not sure what that means.
>
>
> > The problem is that I use a virtual radius
> > associated to every db and I would avoid this. Is that possible to have a
> > single radius instance listening and forward the request to db using
> radius
> > client password (eventually contained in the nas table)?
>
> The SQL queries are customizable. You can write "if / then / else"
> statements in Unlang to select the database you're using, based on what
> client is coming in.
>
> Just write the rules:
>
> if (Packet-Src-IP-Address == client1) {
> sql1
> }
> else if (Packet-Src-IP-Address == client2) {
> sql2
> }
>
> It's that simple.
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
More information about the Freeradius-Users
mailing list