Different config based on NAS
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. regards Hilton
On Tue, Jul 5, 2011 at 5:50 PM, Hilton Boyce <hilton@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
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@fajar.net> wrote:
On Tue, Jul 5, 2011 at 5:50 PM, Hilton Boyce <hilton@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
participants (2)
-
Fajar A. Nugraha -
Hilton Boyce