Different config based on NAS
Hilton Boyce
hilton at digichilli.com
Tue Jul 5 18:06:47 CEST 2011
Thanks Fajar
Sounds like the radcheck would be the way to go.
On Tue, Jul 5, 2011 at 1:52 PM, Fajar A. Nugraha <list at fajar.net> wrote:
> On Tue, Jul 5, 2011 at 5:50 PM, Hilton Boyce <hilton at digichilli.com>
> wrote:
> > Hi
> >
> > I need to know if there is a way of having the same username and password
> > but sending a different reply based.
> > For example
> >
> > Client send request for DSL Auth send reply for that config or client
> send
> > L2TP Auth reply with different config.
>
> There are many ways to do this.
>
> One way is to use huntgroup:
> http://wiki.freeradius.org/SQL-Huntgroup-HOWTO
>
> Onether way to do this is to use radcheck sql table directly, by
> adding additional column (e.g. NAS-IP) to radcheck table, and edit the
> sql query to include a WHERE with that column and the appropriate
> radius attribute (e.g. NAS-IP-Address). This way the user is
> completely separate, you can even have different password.
>
> --
> Fajar
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110705/7798d9e6/attachment.html>
More information about the Freeradius-Users
mailing list