I found FreeRadius 2.1.1 very easy to setup for authentication however, I am experiencing problems in setting up the accounting with 2 servers. Radrelay was very simple and although I have found lots of information on the radrelay function built in to FreeRadius, I have not been able to get it working. Is there a shortcut, Howto or instructions on what files need to be changed to get the detail files to match on 2 servers? Thanks Larry Reeves lreeves@heartoftn.net
There are several exaples for creating virtual servers to proxy accounting in raddb/sites-available. Ivan Kalik Kalik Informatika ISP Dana 16/12/2008, "lreeves" <lreeves@heartoftn.net> piše:
I found FreeRadius 2.1.1 very easy to setup for authentication however, I am experiencing problems in setting up the accounting with 2 servers. Radrelay was very simple and although I have found lots of information on the radrelay function built in to FreeRadius, I have not been able to get it working. Is there a shortcut, Howto or instructions on what files need to be changed to get the detail files to match on 2 servers? Thanks
Larry Reeves lreeves@heartoftn.net
Yes, Thank you. I have read many of them but they are not specific to Radrelay replacement. The most noted is in the: "copy-acct-to-home-server" File. # You will have to configure realms, home_server_pool, and home_server in proxy.conf # for this to work. Does this mean all 3 have to be setup in the proxy.conf file? Is there a proxy.conf file with these setup as an example? I have not found one. Larry ----- Original Message ----- From: <tnt@kalik.net> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Tuesday, December 16, 2008 10:32 AM Subject: Re: Radrelay There are several exaples for creating virtual servers to proxy accounting in raddb/sites-available. Ivan Kalik Kalik Informatika ISP Dana 16/12/2008, "lreeves" <lreeves@heartoftn.net> piše:
I found FreeRadius 2.1.1 very easy to setup for authentication however, I am experiencing problems in setting up the accounting with 2 servers. Radrelay was very simple and although I have found lots of information on the radrelay function built in to FreeRadius, I have not been able to get it working. Is there a shortcut, Howto or instructions on what files need to be changed to get the detail files to match on 2 servers? Thanks
Larry Reeves lreeves@heartoftn.net
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
The most noted is in the: "copy-acct-to-home-server" File. # You will have to configure realms, home_server_pool, and home_server in proxy.conf # for this to work.
Does this mean all 3 have to be setup in the proxy.conf file? Is there a proxy.conf file with these setup as an example? I have not found one.
Have a look again. realm example.com in proxy.conf that comes with the server shows how to use server pool and how pool uses home server(s). Example uses auth_pool and you want to set up acct_pool. You can also set up the realm the "old-fashioned" way (authhost, accthost, secret) and not bother with pools. Ivan Kalik Kalik Informatika ISP
I assume any change is done only in the "proxy.conf" I tried to take the simple option and just setup the realm. I edited these lines on both servers to my hostnames but it still fails to work. realm DEFAULT { # authhost = radius.company.com:1600 accthost = radius.company.com:1601 secret = testing123 } ----- Original Message ----- From: <tnt@kalik.net> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Tuesday, December 16, 2008 5:32 PM Subject: Re: Radrelay
The most noted is in the: "copy-acct-to-home-server" File. # You will have to configure realms, home_server_pool, and home_server in proxy.conf # for this to work.
Does this mean all 3 have to be setup in the proxy.conf file? Is there a proxy.conf file with these setup as an example? I have not found one.
Have a look again. realm example.com in proxy.conf that comes with the server shows how to use server pool and how pool uses home server(s). Example uses auth_pool and you want to set up acct_pool.
You can also set up the realm the "old-fashioned" way (authhost, accthost, secret) and not bother with pools.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Larry Reeves wrote:
I assume any change is done only in the "proxy.conf"
I tried to take the simple option and just setup the realm. I edited these lines on both servers to my hostnames but it still fails to work.
See the FAQ for "it doesn't work". The documentation explains how the server works, with examples. It's up to you to spend some time understanding those examples, and applying them to your system. If you have *specific* questions or problems, posting those would be good. Saying "I didn't understand the examples", or "it doesn't work" makes it impossible for anyone to assist you. Alan DeKok.
What is your goal here? To have two different hosts with the same accounting data on them? If so, use a data base backend instead of trying to replicate data yourself. Let the system work for you, not you for the system. Sent from my iPhone On 16 Dec 2008, at 16:07, "lreeves" <lreeves@heartoftn.net> wrote:
I found FreeRadius 2.1.1 very easy to setup for authentication however, I am experiencing problems in setting up the accounting with 2 servers.
Radrelay was very simple and although I have found lots of information on the radrelay function built in to FreeRadius, I have not been able to get it working.
Is there a shortcut, Howto or instructions on what files need to be changed to get the detail files to match on 2 servers?
Thanks
Larry Reeves lreeves@heartoftn.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (5)
-
Alan DeKok -
Anders Holm -
Larry Reeves -
lreeves -
tnt@kalik.net