2022-08-31 01:46:11 +02:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
|
|
|
prefix = /usr
|
|
|
|
exec_prefix = /usr
|
|
|
|
sysconfigdir = /etc
|
|
|
|
localstatedir = /var
|
|
|
|
sbindir = ${exec_prefix}/sbin
|
|
|
|
logdir = /var/log/freeradius
|
|
|
|
raddbdir = /etc/freeradius/3.0
|
|
|
|
radacctdir = ${logdir}/radacct
|
|
|
|
name = freeradius
|
|
|
|
confdir = ${raddbdir}
|
|
|
|
modconfdir = ${confdir}/mods-config
|
|
|
|
certdir = ${confdir}/certs
|
|
|
|
cadir = ${confdir}/certs
|
|
|
|
run_dir = ${localstatedir}/run/${name}
|
|
|
|
db_dir = ${raddbdir}
|
|
|
|
libdir = /usr/lib/freeradius
|
|
|
|
pidfile = ${run_dir}/${name}.pid
|
|
|
|
checkrad = ${sbindir}/checkrad
|
|
|
|
|
|
|
|
max_request_time = 30
|
|
|
|
cleanup_delay = 5
|
|
|
|
max_requests = 16384
|
|
|
|
hostname_lookups = no
|
|
|
|
correct_escapes = true
|
|
|
|
|
|
|
|
log {
|
|
|
|
destination = syslog
|
|
|
|
syslog_facility = daemon
|
2023-06-25 19:25:50 +02:00
|
|
|
auth = no
|
2022-08-31 01:46:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
security {
|
|
|
|
user = freerad
|
|
|
|
group = freerad
|
|
|
|
allow_core_dumps = no
|
|
|
|
max_attributes = {{ radiusd__max_attributes | int }}
|
|
|
|
status_server = {{ radiusd__status_server | ternary("yes", "no") }}
|
|
|
|
}
|
|
|
|
|
|
|
|
proxy_requests = yes
|
|
|
|
|
|
|
|
$INCLUDE proxy.conf
|
|
|
|
|
2022-08-31 04:54:00 +02:00
|
|
|
$INCLUDE clients.conf
|
|
|
|
|
2022-08-31 01:46:11 +02:00
|
|
|
thread pool {
|
|
|
|
start_servers = 5
|
|
|
|
max_servers = 32
|
|
|
|
min_spare_servers = 3
|
|
|
|
max_spare_servers = 10
|
|
|
|
max_requests_per_server = 0
|
|
|
|
auto_limit_acct = no
|
|
|
|
}
|
|
|
|
|
|
|
|
modules {
|
|
|
|
$INCLUDE mods-enabled/
|
|
|
|
}
|
|
|
|
|
|
|
|
instantiate {
|
|
|
|
}
|
|
|
|
|
|
|
|
policy {
|
|
|
|
$INCLUDE policy.d/
|
|
|
|
}
|
|
|
|
|
|
|
|
$INCLUDE sites-enabled/
|