summaryrefslogtreecommitdiff
path: root/lib/examples/client.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/examples/client.conf')
-rw-r--r--lib/examples/client.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/examples/client.conf b/lib/examples/client.conf
new file mode 100644
index 0000000..c9500e8
--- /dev/null
+++ b/lib/examples/client.conf
@@ -0,0 +1,27 @@
+dictionary = "/usr/share/freeradius/dictionary"
+
+realm blocking-udp {
+ type = "UDP"
+ timeout = 2
+ retries = 2
+ server {
+ hostname = "127.0.0.1"
+ service = "1820"
+ secret = "sikrit"
+ }
+}
+
+realm blocking-tls {
+ type = "TLS"
+ timeout = 1
+ retries = 3
+ cacertfile = "/home/linus/nordberg-ca.crt"
+ #cacertfile = "/home/linus/p/moonshot/demoCA/cacert.pem"
+ certfile = "/home/linus/p/moonshot/radsecproxy-test.crt"
+ certkeyfile = "/home/linus/p/moonshot/radsecproxy-test.key"
+ server {
+ hostname = "localhost"
+ service = "2083"
+ secret = "sikrit"
+ }
+}