I am using FreeRadius 2.1.8 on Centos 5. Currently my NAS is sending accouting packets to my Radius which is storing it in the mysql database. What I want to know is how do i get my Radius to forward those accounting packets to another Radius server. Ideally i want to dump accounting into my own database and forward to another server as well Do I use the proxy.conf file? In the proxy.conf file I can see that there is home_server localhost realm already there. Do I create something similar to that only give it the the details of the other Radius?
Athiqur Rahman wrote:
I am using FreeRadius 2.1.8 on Centos 5.
Currently my NAS is sending accouting packets to my Radius which is storing it in the mysql database.
What I want to know is how do i get my Radius to forward those accounting packets to another Radius server.
Ideally i want to dump accounting into my own database and forward to another server as well
Do I use the proxy.conf file? In the proxy.conf file I can see that there is home_server localhost realm already there. Do I create something similar to that only give it the the details of the other Radius? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html No one here knows how to do this?
Pointer to some kind of documentation will be appreciated as well
Alan DeKok wrote:
Athiqur Rahman wrote:
Pointer to some kind of documentation will be appreciated as well
See raddb/sites-available/copy-acct-to-home-server
This is documented. Reading the config files that come with the server (even their *filenames*) can help.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I still can not forward accounting packets. I am currenlty doing no username, passworless login on my NAS. Below is my users file DEFAULT Auth-Type := Accept Port-Limit = 2, Framed-IP-Address = 255.255.255.254, Framed-IP-Netmask = 255.255.255.255, Service-Type = Framed-User, Framed-Protocol = PPP, Session-Timeout = 86400, Idle-Timeout = 900 So I assume that the realm that I have to create in the proxy.conf file will be a NULL realm? realm NULL { type = radius authhost = 1.2.3.4:1812 accthost = 1.2.3.4:1813 secret = testing123 nostrip } looking at the debug information from radiusd -X i can not see it attemtping to send the accounting packets to the server 1.2.3.4
Athiqur Rahman wrote:
I still can not forward accounting packets.
Well... it shouldn't be hard to set up.
I am currenlty doing no username, passworless login on my NAS.
That doesn't affect accounting.
Below is my users file
DEFAULT Auth-Type := Accept Port-Limit = 2, Framed-IP-Address = 255.255.255.254, Framed-IP-Netmask = 255.255.255.255, Service-Type = Framed-User, Framed-Protocol = PPP, Session-Timeout = 86400, Idle-Timeout = 900
So I assume that the realm that I have to create in the proxy.conf file will be a NULL realm?
What does the documentation in proxy.conf say?
looking at the debug information from radiusd -X i can not see it attemtping to send the accounting packets to the server 1.2.3.4
I guess that the debug output is secret, and we can't see it. So... there's nothing more we can do to help. Alan DeKok.
participants (2)
-
Alan DeKok -
Athiqur Rahman