proxy keyed-balance setting
Alan DeKok
aland at deployingradius.com
Wed Sep 7 21:51:49 CEST 2016
> On Sep 7, 2016, at 3:44 PM, Scott McLane Gardner <sgardne at uark.edu> wrote:
>
>> Try changing the Load-Balance-Key to User-Name. And then using radtest for simple tests. That gets you the useful debug information, without tons of EAP stuff.
>
>> But... the Load-Balance-Key seems to work here. I haven't heard of anyone else having issues with it.
>
> The users get rejected because they're fake, but I get the same results using User-Name. Here are 2 clients trying to connect, different usernames both go to the same server. These 2 clients are the only ones using this server right now.
Ah... your configuration is wrong:
pre-proxy {
update control {
Load-Balance-Key := "%{Calling-Station-Id}"
}
The "pre-proxy" section is run *after* it decides to proxy the request to a particular server.
Move that to the "authorize" section, and it will work:
authorize {
...
update control {
Load-Balance-Key := "%{Calling-Station-Id}"
}
pap
}
Alan DeKok.
More information about the Freeradius-Users
mailing list