Freeradius
From neil.tappsville.com
Jump to navigationJump to search
Freeradius
Replicate / Forward Records
Fire and forget (no socket is opened up to wait for a response from the downstream server)
Frontend --> downstream-replicate-realm downstream-replicate-realm --> downstream-replicate-pool downstream-replicate-pool --> downstream-replicate homeserver
sites-available/frontend.conf
server frontend { ... preacct { update control { Replicate-To-Realm := "downstream-replicate-realm" } replicate ...
sites-available/downstream-replicate.conf
home_server downstream-replicate { type = acct ipaddr = 192.168.1.1 port = 1813 secret = "secret" } home_server_pool downstream-replicate-pool { type = load-balance home_server = downstream-replicate } realm downstream-replicate-realm { acct_pool = downstream-replicate-pool }
Proxy Records via a file buffer to a downstream radius server
This will not lock the freeradius frontend server, and expects the downstream radius server to reply once the record has been received
Frontend --> local-spool local-spool downstream-replicate-realm --> downstream-replicate-pool downstream-replicate-pool --> downstream-replicate homeserver
sites-available/frontend.conf
server frontend { ... preacct { local-spool-detail ...