proxing (auth and accounting request) based on a username (not realm)

Phil Mayers p.mayers at imperial.ac.uk
Tue Jul 26 13:07:09 CEST 2011


On 26/07/11 12:00, Samantha wrote:
> Guys
>
> Looking for some help in the following scenerio
>
>
> Fred tries to authenticate a 3g mobile broadband device and I don't have
> there id on my radius database so I need to send to another provider who has
> the account on their radius database.  The other provider terminates "fred
> 3g mobile device" on their lns and issues the framed ip and route requests -
> I also send the accounting data to them as well

Easy:

authorize {
   if (User-Name == Fred) {
     update control {
       Proxy-To-Realm := OTHER_PROVIDER
     }
   }
}

...then define the realm & home servers for "OTHER_PROVIDER" in proxy.conf.

Obviously you can use SQL, rlm_passwd, "files" modules to do the lookup.

>
>
> Secondly
> Looking for script to count both in and out data traffic.

Your question is unclear. Be more specific.



More information about the Freeradius-Users mailing list