I set up two freeradius servers to test the proxy feature.
In one machine (A), I installed radius server and a radius client testing program.
In another machine (B), I installed radius server only.
I configured server A and B by editing radiusd.conf, client.conf, and users.
I configured client testing program to point to B, it works fine. I send user name and password, the authentication is OK.
I changed client configuration program to point to A, it works fine. I send user name and password, the authentication is OK.
Now, while client point to A, I tried to configure both radius servers in a realm.
I edited proxy.conf to include a realm. For example,
realm abcd.com {
type = radius
authhost = xxx.xxx.xxx.xxx
authhost = yyy.yyy.yyy.yyy
secret = 1234
}
The secret 1234 are used for both A, B and client.
I restarted both servers by specifying "-x" is debug mode.
My OS is RedHat 7.1 and RedHat 7.2. I know Freeradius-0.5 default to proxy server, so the server is already proxy server.
I submit password through client program as before. In users file of A, I have user "aa", in users file of B, I have user "bb".
When I submit aa, the authentication is OK from A.
When submit bb, A reject the authentication, and does not proxy the request to B. Nothing is sent to B and B received nothing.
Thanks in advance for help.
Defu Zhang
