]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
document proxy_protocol
authorAlan T. DeKok <aland@freeradius.org>
Fri, 30 Jul 2021 13:58:41 +0000 (09:58 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 30 Jul 2021 13:58:41 +0000 (09:58 -0400)
raddb/sites-available/tls

index c4ef84a6e9eaf56d7cb77e6ee36f7ec1e0c2925f..d52c785acf7bb287744a8f0d7589deed53e2658e 100644 (file)
@@ -64,6 +64,29 @@ listen {
 
        clients = radsec
 
+       #
+       #  Use the haproxy "PROXY protocol".
+       #
+       #  This configuration allows for many FreeRADIUS servers to be
+       #  behind a haproxy server.  The "PROXY protocol" allows
+       #  haproxy to send the actual client IP to FreeRADIUS.
+       #
+       #  This will work ONLY for RadSec (TLS).  Both the haproxy AND
+       #  the RadSec client MUST be listed as allowed RADIUS clients.
+       #
+       #  haproxy needs to have "send-proxy" configured for this server.
+       #  Health checks should be turned off, as haproxy does not
+       #  support RADIUS health checks.
+       #
+       #  The main use of this feature is for scalability.  There is no
+       #  longer any need to have a RADIUS proxy as a load balancer.
+       #  haproxy is fast, stable, and supports dynamic reloads!
+       #
+       #  The only problem is that many RADIUS clients do not support
+       #  RadSec.  That situation will hopefully change over time.
+       #
+#      proxy_protocol = no
+
        #
        #  When this is set to "yes", new TLS connections
        #  are processed through a section called