feat: add Dockerfile, entrypoint script, and EAP configuration for FreeRADIUS containerization
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 4m19s

This commit is contained in:
Tygozwolle
2026-07-24 15:09:42 +02:00
parent c7e18c76ac
commit 9a6b1131b1
3 changed files with 49 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
eap {
default_eap_type = peap
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = ${max_requests}
# PEAP Configuration
peap {
default_eap_type = mschapv2
copy_request_to_tunnel = yes
use_tunneled_reply = yes
virtual_server = "inner-tunnel"
}
# TTLS Configuration
ttls {
default_eap_type = mschapv2
copy_request_to_tunnel = yes
use_tunneled_reply = yes
virtual_server = "inner-tunnel"
}
# MSCHAPv2 Configuration
mschapv2 {
}
# TLS Configuration for PEAP / TTLS
tls-config certs {
private_key_password = whatever
private_key_file = ${certdir}/server.pem
certificate_file = ${certdir}/server.pem
ca_file = ${cadir}/ca.pem
dh_file = ${certdir}/dh
cipher_list = "DEFAULT@SECLEVEL=1"
cipher_server_preference = no
tls_min_version = "1.0"
tls_max_version = "1.2"
}
}