I did some more testing and found a way that works, but I wonder if this is
a 'good' way :)

I put this in the users file:

DEFAULT Realm == "TESTREALM", Nas-Port == 10
DEFAULT Realm == "TESTREALM", Nas-Port == 150
DEFAULT Realm == "TESTREALM", Auth-Type := Reject

I tested this with radtest and I guess I can use Wispr-Location-Id == "..."
instead of Nas-Port == ...

Thor.

----- Original Message ----- 
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 22, 2004 11:29 PM
Subject: Re: Proxy or not based on realm and location


> "Thor Spruyt" <[EMAIL PROTECTED]> wrote:
> > How do I "catch" @realmB ?
>
>   With the "Realm" attribute.  Read the debug log, and see what
> rlm_realm does.
>
> > Is it possible to Reject all, but some values?
>
>   Yes.  See "!=".
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


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

Reply via email to