Relaying of accounting requests between Freeradius servers

Alan DeKok aland at deployingradius.com
Wed Mar 18 08:42:28 CET 2009


Patric wrote:
> I began attempting to implement this (was trying to figure out where to
> put it) when I noticed that the proxied accounting requests sent from
> one server to the other maintains the original NAS-IP-Address, and not
> the freeradius servers IP address. I then thought that I might be able
> to update it in the pre-proxy section, but then it occurred to me that I
> need to preserve the NAS-IP-Address as this is one of the values I need
> to send in a disconnect request :(

  Use Client-IP-Address, not NAS-IP-Address.  The Client-IP-Address is
the source address of the RADIUS packet.  NAS-IP-Address is an attribute
inside of the RADIUS packet.  It can have nearly any value, including
127.0.0.1, or 0.0.0.0.

  Alan DeKok.



More information about the Freeradius-Users mailing list