ansible/roles/freeradius/templates/mods-available/eap.j2

49 lines
1.1 KiB
Text
Raw Normal View History

{{ ansible_managed | comment }}
eap {
default_eap_type = peap
2022-09-01 02:21:12 +02:00
type = peap
ignore_unknown_eap_types = no
2022-09-01 02:21:12 +02:00
cisco_accounting_username_bug = no
2022-09-01 02:21:12 +02:00
timer_expire = 60
max_sessions = ${max_requests}
tls-config tls-common {
private_key_file = {{ radiusd__tls_private_key_file }}
certificate_file = {{ radiusd__tls_certificate_file }}
ca_file = {{ radiusd__tls_ca_file }}
dh_file = ${certdir}/dh
cipher_list = {{ radiusd__tls_cipher_list | enquote }}
cipher_server_preferences = yes
tls_min_version = "1.2"
tls_max_version = "1.2" # TODO: 1.3
# TODO
# cache {
# enable = yes
# lifetime = 24
# name = "eap"
# persistdir = "${logdir}/tlscache"
# store {
# Tunnel-Private-Group-Id
# }
# }
2022-09-01 08:18:39 +02:00
ocsp {
enable = no
}
}
peap {
tls = tls-common
default_eap_type = gtc
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = inner-tunnel
}
}