proxy/home-server, could be set dynamically?

Jorge Pereira jpereiran at gmail.com
Tue Sep 15 19:41:26 CEST 2015


Hi,

The "home-server", could be set dynamically? because today I have used the
below approach.

# 1) list of tens and tens of homeservers that is used the ident based on
NAS-Identifier
home_server coa_SAME_NAS_IDENTIFIER1 {
    type = coa
    secret = hello
    ipaddr = 1.2.3.4
    port = 3799
    proto = udp
    revive_interval = 10
    status_check = none
    check_interval = 10
    num_answers_to_alive = 3
}

home_server_pool coa_pool_SAME_NAS_IDENTIFIER1 {
    type = fail-over
    home_server = coa_SAME_NAS_IDENTIFIER1
}

..... same thing to another servers.

# 2) in the recv-coa, I have
recv-coa {
......
    update control {
        &Home-Server-Pool := "coa_pool_%{NAS-Identifier}"
    }
......
}

---------
Conclusion: I would like to know if have some way to set a values of
Home-Server dynamically.
--
Jorge Pereira


More information about the Freeradius-Users mailing list