kevin wrote:

> I want to get some idea about how to manipulate attributes before we 
> respond to NAS.
>
> For example, before I send Access-Accept packet to the NAS, I want to 
> add two additional attributes (let's say S and T) to NAS-1 and add X, Y, 
> and Z to NAS-2.  In short, I want to add some attributes differently 
> based on the NAS IP or Client IP.  How can I do that?

In the "users" file:

DEFAULT NAS-IP-Address == 10.0.0.1
        Attribute-S := Value-S,
        Attribute-T := Value-T

DEFAULT NAS-IP-Address == 10.0.0.2
        Attribute-X := Value-X,
        Attribute-Y := Value-Y,
        Attribute-Z := Value-Z

-- 
Nicolas Baradakis

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

Reply via email to