How to set properly failover ?

alexandre.chapellon at mana.pf alexandre.chapellon at mana.pf
Fri Jul 23 19:43:34 CEST 2010


This how I do, but it's not the only way and may not feet your needs:

In radiusd.conf, instantiate a redundant module:
instantiate {
...
      redundant ha_auth_name {
                ntlm_auth_vpn1
                ntlm_auth_vpn2
       }
...
}

In default sites config, section authorize

authorize {
...
      ha_auth_name
...
}


Quite simple and works great here for some other moduls (SQL)
Hope it helps.

---- Message original----
>Date: Fri, 23 Jul 2010 18:45:30 +0200
>From: freeradius-users-bounces+alexandre.chapellon=mana.pf at lists.freeradius.org (on behalf of "Jevos, Peter" <Peter.Jevos at oriflame.com>)
>Subject: How to set properly failover ?  
>To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
>
>   Hi guys
>
>    
>
>   I'm really trying but it's not easy to find
>   somehitng in the documenatiion.
>
>   I have 2 modules ntlm_auth_vpn1/2 and I like to do
>   failover.
>
>   I tried this but I was not sucesfull:
>
>    
>
>   In the modules I have 2 files, ntlm_auth_vpn1 and
>   ntlm_auth_vpn2
>
>   In the sites-available/default I have:
>
>    
>
>   #  Allow EAP authentication.
>
>           eap
>
>           ntlm_auth
>
>    
>
>           ntlm_auth_vpn {
>
>                           group {
>
>                                  
>               ntlm_auth_vpn1 {
>
>                          
>                                           reject = 1
>
>                          
>                                           ok = return
>
>                                                  
>                                   }
>
>                                                  
>   ntlm_auth_vpn2 {
>
>                          
>                                           reject = 1
>
>                          
>                                           ok = return
>
>                          
>                                                          
>   }
>
>                                                   }
>
>                         }
>
>    
>
>   In my users file is:
>
>    
>
>   DEFAULT          Auth-Type := ntlm_auth_vpn,
>
>                                   Fall-Through = Yes
>
>    
>
>   What should be the correct syntax ?
>
>   Freeradius is great tool , however every step
>   forward is like a childbirth : )
>
>   What I'm really missing is what should be placed
>   where.
>
>    
>
>   I'd really enjoy the new book .  I hope it will be
>   released soon : )
>
>    
>
>   Thanks
>
>    
>
>   Pet
>________________
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list