From 6e2a5993ce470341bed0e0c6ba8e44de3712d50e Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Sat, 26 Oct 2024 00:07:03 -0400 Subject: more icinga stuff --- .../usr/local/etc/raddb/clients.conf.radius_server | 16 +++ .../etc/raddb/mods-available/eap.radius_server | 8 ++ .../etc/raddb/mods-available/ldap.radius_server | 107 +++++++++++++++++++++ .../sites-available/inner-tunnel.radius_server | 90 +++++++++++++++++ 4 files changed, 221 insertions(+) create mode 100644 files/usr/local/etc/raddb/clients.conf.radius_server create mode 100644 files/usr/local/etc/raddb/mods-available/ldap.radius_server create mode 100644 files/usr/local/etc/raddb/sites-available/inner-tunnel.radius_server (limited to 'files/usr/local/etc/raddb') diff --git a/files/usr/local/etc/raddb/clients.conf.radius_server b/files/usr/local/etc/raddb/clients.conf.radius_server new file mode 100644 index 0000000..033b059 --- /dev/null +++ b/files/usr/local/etc/raddb/clients.conf.radius_server @@ -0,0 +1,16 @@ +client icinga { + ipaddr = ${icinga_radius_cidr} + secret = ${icinga_radius_secret} +} + +$(for client_name in $radius_clients; do + eval "client_address=\$radius_${client_name}_address" + eval "client_secret=\$radius_${client_name}_secret" + cat <