dbeutler wrote:
> I have recently setup FreeRadius on a test machine and loaded (via a
> dictionary file) the VSA's for a NAS in our network.  The Radius messages we
> are receiving are purely accounting messages.
> I am trying to accomplish the following:  I would like to forward accounting
> messages to another Radius server based upon the value of one of the VSA's. 

$ man unlang

preacct {
        ...

        if (Attribute-Name == "foo") {
                update control {
                        Proxy-To-Realm := "bar.com"
                }
        }
        ...
}

  You'll have to define the realm.  See raddb/proxy.conf.

> In addition, I would like to pick certain attribute-value pairs to forward
> while discarding the others.

$ man unlang

  See "-=".  Or, the "attr_filter" module.

> I really appreciate any help and I should probably mention that I am pretty
> new to radius (yesterday was my first time installing it. :)

  It's dead easy. :)

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to