copy-acct-to-home-server example. need help

Mikhail Novikov mikhail.novikov at gmail.com
Thu Apr 3 17:39:19 CEST 2008


Hi,

I use copy-acct-to-home-server example but the virtual server doesn't
sends requests to the home server.
I tried to proxy requests by Proxy-To-Realm attribute but it doesn't works.

my configuration files:

sites-available/copy-acct-to-home-server:
server copy-acct-to-home-server {
        listen {
                type = detail
                filename = ${radacctdir}/detail
                load_factor = 10
        }
        preacct {
                update control {
                        Proxy-To-Realm := "CLD"
                }
        }
        accounting {
                   ok
        }
        pre-proxy {
        }
        post-proxy {
        }
}

proxy.conf:
realm CLD {
        type            = radius
        accthost        = 10.6.1.91:1813
        secret          = testing123
}

I'm newbie and have no experience with freeradius. Maybe I forgot to
add something in configuration files...

Log:
Polling for detail file /usr/local/var/log/radius/radacct/detail
Waking up in 0.9 seconds.
        User-Name = "test"
        User-Password = "pass"
        Framed-Protocol = PPP
        NAS-Port-Id = "11123"
+- entering group accounting
        expand:
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
-> /usr/local/var/log/radius/radacct/127.0.0.1/detail-20080403
rlm_detail: /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to /usr/local/var/log/radius/radacct/127.0.0.1/detail-20080403
        expand: %t -> Thu Apr  3 20:01:53 2008
++[detail] returns ok
Finished request 0.
Cleaning up request 0 ID 83 with timestamp +61
Going to the next request
Waking up in 0.6 seconds.
Polling for detail file /usr/local/var/log/radius/radacct/detail

Thank you.



More information about the Freeradius-Users mailing list