Howto proxy (or not) based on client IP ?

Phil Mayers p.mayers at imperial.ac.uk
Thu Oct 20 18:34:58 CEST 2011


On 10/20/2011 05:10 PM, Fred wrote:
> Hi all,
>
> Is there any way to select proxying or not based on client ip ?
>
> I would like to have
> * some nas authenticated locally (in fact via ldap)
> * some other nas proxyied to another radius.

authorize {
   if (Client-IP-Address == x.x.x.x) {
     update control {
       Proxy-To-Realm := OTHER
     }
   }
}

...then define the realm in proxy.conf as per examples.



More information about the Freeradius-Users mailing list