]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
sample stunnel configuration
authorAlan T. DeKok <aland@freeradius.org>
Fri, 2 Apr 2021 11:54:34 +0000 (07:54 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 2 Apr 2021 11:54:34 +0000 (07:54 -0400)
which makes it easier to test radsec, just using radclient

scripts/ci/stunnel.conf [new file with mode: 0644]

diff --git a/scripts/ci/stunnel.conf b/scripts/ci/stunnel.conf
new file mode 100644 (file)
index 0000000..d58d76e
--- /dev/null
@@ -0,0 +1,15 @@
+;
+;  Run via:
+;
+;      stunnel stunnel.conf
+;
+;  You will be prompted for the password.  Type "whatever".
+;
+foreground = yes
+
+[radsec]
+client = yes
+accept = 127.0.0.1:20830
+connect = 127.0.0.1:2083
+cert = ../../raddb/certs/client.pem
+key = ../../raddb/certs/client.key