It's possible to point a accounting packet to another virtual-server using VirtualServer?
Jorge Pereira
jpereiran at gmail.com
Mon Sep 21 23:35:36 CEST 2015
Hi,
I have a setup with many kinds of NAS, something like.
1) I have a default accounting server
<set>
#
# Servidor de accounting
#
listen {
type = acct
ipaddr = *
port = 1813
virtual_server = default-accounting
}
server default-accounting {
preacct {
if (!Acct-Status-Type) {
do_not_respond
}
if ((&Acct-Status-Type == Accounting-On) || (&Acct-Status-Type ==
Accounting-Off)) {
ok
}
acct_unique
}
accounting {
attr_filter.accounting_response
detail
sql_acct
}
}
</set>
And I have the same below concept for another's NAS.
root at srv1:# cat sites-enabled/server-nas-alcatel
server server-nas-alcatel {
authorize {
......
}
authenticate {
......
}
preact {
... doing translates from alcatel avp to intermediate avps.
}
accounting {
# send to default acct virtual server
update control {
&Virtual-Server := "default-accounting"
&FreeRADIUS-Client-Virtual-Server := "default-accounting"
}
}
}
root at srv1:#
But wihtout success... someone have suggestions?
--
Jorge Pereira
More information about the Freeradius-Users
mailing list