"Leo Lei" <[EMAIL PROTECTED]> wrote:
> If you want return tht origin NAS-IP-Address to the user, you can use rlm_checkval
> module updating to freeradius-1.0.0preX .
> rlm_expr module must be enabled.
>
> in radreply
> NAS-IP-Address := `%{expr: %{NAS-IP-Address}}`
No. The "expr" module performs mathematical calculations. An IP
address isn't a number, so you shouldn't be passing it to expr.
Also, returning the NAS IP address to the user isn't a good idea, as
it won't do anything. You want to return the *framed* IP address:
Framed-IP-Address := `%{Framed-IP-Address}`
But even that won't work in all situations, as the request may not
have contained a framed IP address.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html