copy-acct to home server from specific NAS

Alan DeKok aland at deployingradius.com
Mon Dec 2 16:44:52 CET 2013


Johansson, Daniel wrote:
> However we have 20NAS servers sending accounting to the FR and we only want to copy-acct from two of the NAS servers
>
> How can we configure FR to only copy acct to home servers when it comes from NAS1 and NAS2?

  You can set up a separate virtual server for those two NASes.  See
raddb/sites-available/README.

> We have tried using check-items like below, but it doesn't work as we expected, nothing is sent to the home server.
> 
> server copy-acct-to-home-serverA {
>         listen {
>                 type = detail
> update control {
>                         Called-Station-Id == nas1, Proxy-To-Realm := realmA
>                 }
> 
> I guess we are doing something wrong with check items and attributes?

  Yes.  See "man unlang".  You can't put an "update" section there.  The
documentation specifically says that the "update" sections can ONLY go
in a virtual server, authorize, authenticate, etc.

  Alan DeKok.


More information about the Freeradius-Users mailing list