Different config based on NAS
Fajar A. Nugraha
list at fajar.net
Tue Jul 5 13:52:03 CEST 2011
On Tue, Jul 5, 2011 at 5:50 PM, Hilton Boyce <hilton at digichilli.com> wrote:
> 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.
More information about the Freeradius-Users