FreeRadius Question - how to replicate accounting packets to another server radius
Hi all, i've installed freeradius-2.0.5 on Red-Hat 5.0 and i want to configure my radius server to replicate (i think NOT to proxy...waht is the different?) only accounting packets to another radius server based on apn name (NOT for user realm); always based on apn name attribute i want to assign different pool (defined on radippool table on mysql). Usually APN name is valorized in Called-Station-ID attribute ? The pool assignment works fine but i'm not able to replicate based on Called-Station-ID. Can you help me, please ? These are my config files: users DEFAULT Auth-Type := Accept, Called-Station-ID == 'apn1', Pool-Name := 'main_pool', Simultaneous-Use := 1 Fall-Through = Yes DEFAULT Auth-Type := Accept, Called-Station-ID == 'apn2', Pool-Name := 'second_pool', Simultaneous-Use := 1 Fall-Through = Yes radiusd.conf proxy_requests = yes Thanks in advance, Piero
Piero Santi wrote:
i've installed freeradius-2.0.5 on Red-Hat 5.0 and i want to configure my radius server to replicate (i think NOT to proxy...waht is the different?) only accounting packets to another radius server based on apn name (NOT for user realm); always based on apn name attribute i want to assign different pool (defined on radippool table on mysql). Usually APN name is valorized in Called-Station-ID attribute ?
Put this in the "acct_users" file: DEFAULT Called-Station-Id == "apn1", Proxy-To-Realm := REALM-NAME And you'll have to define REALM-NAME in proxy.conf. Alan DeKok.
Hi Alan, it works fine! The last question....what is the different between Proxy-To-Realm and Replicate-To-Realm ? Thanks, Piero 2008/9/4 Alan DeKok <aland@deployingradius.com>
Piero Santi wrote:
i've installed freeradius-2.0.5 on Red-Hat 5.0 and i want to configure my radius server to replicate (i think NOT to proxy...waht is the different?) only accounting packets to another radius server based on apn name (NOT for user realm); always based on apn name attribute i want to assign different pool (defined on radippool table on mysql). Usually APN name is valorized in Called-Station-ID attribute ?
Put this in the "acct_users" file:
DEFAULT Called-Station-Id == "apn1", Proxy-To-Realm := REALM-NAME
And you'll have to define REALM-NAME in proxy.conf.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Piero Santi