Hi all.
I'm have some questions that can't be found in previous messages.
I have two access equipment, one for dialup, one for PPPoE.
I want that the customers have the same pair of (login, password) to
access any of the two services. One at a time, Simultaneous-Use :=1.
How could do it with the files or with mysql module? I'm out of ideas.
I have experience with the files module, and i think that this will
work:
#huntgroups file
DIALUP NAS-IP-Address == 192.168.2.5
PPPOE NAS-IP-Address == 192.168.2.5
#users file
DEFAULT Auth-Type := Local
Fall-Through = Yes
eduardo Huntgroup == "DIALUP" User-Password == "fakepass"
NAS-IP-Address = 182.168.100.1,
Idle-Timeout = 900,
Fall-Through = Yes
.
.
<some more users>
.
.
eduardo Huntgroup == "PPPOE" User-Password == "fakepass"
Framed-IP-Address = 0.0.0.0,
Rate_Limit_Rate = 128,
Rate_Limit_Burst = 20000,
Police_Rate = 128,
Police_Burst = 20000,
Session-Timeout = 43200,
Idle-Timeout = 900,
Fall-Through = Yes
.
.
.
But this aproach have two inconvenients, the password need to be in two
places, and the file is scaned entirely for each request.
Can somebody have any ideas? This could be done?
Thanks.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html