LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-05-2017, 03:14 PM   #1
grantd1987
LQ Newbie
 
Registered: Jan 2015
Posts: 27

Rep: Reputation: Disabled
FreeRadius Proxy fallback to virtual server


Hey Everyone,
I have a FreeRadius proxy to proxy radius requests from pam_radius for SSH to an Azure MFA radius box. Everything works fine when the Azure MFA server is working, but when it stops working, no one can log in due to radius failures. I was wondering if anyone knew how to set up the fallback part of a home_server_pool to a virtual server that just responds "Accept". I know this is bad practice, but since the servers are still doing AD Auth through Winbind, I don't feel it is a big issue since the Azure MFA is malfunctioning anyways and loosing access is a bigger issue.

This is my current config in the proxy.conf file:
Code:
home_server MFA1 {
        type = auth
        ipaddr = 192.168.1.101
        port = 1812
        proto = udp
        secret = shared-secret1234
        response_window = 60
        response_timeouts = 5
        zombie_period = 60
        revive_interval = 120
        status_check = request
        username = "this_is_a_fake_user"
        password = "this_is_not_real"
        check_interval = 30
        check_timeout = 4
        num_answers_to_alive = 3
        max_outstanding = 65536
		
		#
        #  If ALL home servers are dead, then this "fallback" home server
        #  is used.  If set, it takes precedence over any realm-based
        #  fallback, such as the DEFAULT realm.
        #
        #  For reasons of stability, this home server SHOULD be a virtual
        #  server.  Otherwise, the fallback may itself be dead!
        #
        #fallback = virtual.example.com
}

home_server MFA2 {
        type = auth
        ipaddr = 192.168.1.102
        port = 1812
        proto = udp
        secret = shared-secret1234
        response_window = 60
        response_timeouts = 5
        zombie_period = 60
        revive_interval = 120
        status_check = request
        username = "this_is_a_fake_user"
        password = "this_is_not_real"
        check_interval = 30
        check_timeout = 4
        num_answers_to_alive = 3
        max_outstanding = 65536
		
		#
        #  If ALL home servers are dead, then this "fallback" home server
        #  is used.  If set, it takes precedence over any realm-based
        #  fallback, such as the DEFAULT realm.
        #
        #  For reasons of stability, this home server SHOULD be a virtual
        #  server.  Otherwise, the fallback may itself be dead!
        #
        #fallback = virtual.example.com
}

home_server_pool MFA {
        type = load-balance
        home_server = MFA1
        home_server = MFA2
}

realm DEFAULT {
        auth_pool       = MFA
        nostrip
}
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server virtual nic mhekela Linux - Newbie 3 12-26-2010 03:41 PM
Fallback DHCP server ivanmacx Linux - Networking 2 04-09-2010 10:13 AM
Interpretation required for '(none) dhcpd: Sending on Socket/fallback/fallback-net' ttomsant Linux - Newbie 0 04-07-2009 02:31 PM
triple-homed ubuntu server proxy/router acting as a fallback gateway mhykgyver Linux - Networking 1 12-10-2007 05:42 PM
Freeradius and Virtual Domains chinitobutnotchinese Linux - Security 0 06-29-2005 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration