]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
simple config for testing
authorAlan T. DeKok <aland@freeradius.org>
Thu, 5 Aug 2021 14:17:22 +0000 (10:17 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 5 Aug 2021 14:46:41 +0000 (10:46 -0400)
scripts/ci/radsecproxy.conf [new file with mode: 0644]

diff --git a/scripts/ci/radsecproxy.conf b/scripts/ci/radsecproxy.conf
new file mode 100644 (file)
index 0000000..c6df5d1
--- /dev/null
@@ -0,0 +1,33 @@
+# radsecproxy -f -c radsecproxy.conf
+
+#  If there's no ListenUDP config, then radsecproxy will listen on *:1812 by default.  <sigh>
+ListenUDP              *:1816
+
+tls default {
+    CACertificateFile    ../../raddb/certs/CA.pem
+
+    # You must specify the below for TLS, we always present our certificate
+    CertificateFile    ../../raddb/certs/client.pem
+    CertificateKeyFile ../../raddb/certs/client.key
+
+    # Optionally specify password if key is encrypted (not very secure)
+    CertificateKeyPassword     "whatever"
+}
+
+client 127.0.0.1 {
+       type    udp
+       secret  testing123
+}
+
+server 127.0.0.1 {
+       type    tls
+       port    2084
+       secret  radsec
+
+       CertificateNameCheck off
+}
+
+
+realm * {
+       server 127.0.0.1
+}