server copy-acct-to-home-server {
listen {
type = detail
filename = ${radacctdir}/detail
load_factor = 10
}
preacct {
preprocess
suffix
files
}
accounting {
ok
}
pre-proxy {
}
post-proxy {
}
}
And my proxy.conf
proxy server {
default_fallback = no
}
home_server localhost {
type = auth+acct
ipaddr = 127.0.0.1
port = 1813
secret = ########
require_message_authenticator = yes
response_window = 20
zombie_period = 40
revive_interval = 120
status_check = none
check_interval = 30
num_answers_to_alive = 3
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {}
realm NULL {
accthost = 192.168.250.2:1813
secret = #########
}
When you said to "Configure it to write only accounting packets to the detail file." Where should I do that? I couldn't understand how it works, so I'm lost to configure it.