canceling/redirecting realm in pre-proxy ?

Fajar A. Nugraha list at fajar.net
Sat Oct 8 03:42:15 CEST 2011


On Fri, Oct 7, 2011 at 10:01 PM, Robert Roll <Robert.Roll at utah.edu> wrote:
> +++[control] returns noop
>
> Does this mean it did NOT set the value local in Proxy-To-Realm ?
>
> Thanks,
>
> Robert
>
>
>
> pre-proxy {
>
>   if( "%{Packet-Src-IP-Address}" == '160.36.188.8' ) {
>      update control {
>              Proxy-To-Realm := 'local'
>          }
>   }
>
> }

Sorry, my mistake. It should be in authorize section. I just tested
this and it works.

-- 
Fajar




More information about the Freeradius-Users mailing list