summaryrefslogtreecommitdiff
path: root/radsecproxy.conf-example
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-15 09:18:46 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-15 09:18:46 +0000
commit36f1a92cea2b74a44ba521701d6cb31df8ce3cd1 (patch)
tree4e749f85ae518265febd1fcafc96687c6af41910 /radsecproxy.conf-example
parentcb9e63ae8d870e1b2ece83eb0d4b66f9c443cbfd (diff)
updated config examples and README
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@86 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.conf-example')
-rw-r--r--radsecproxy.conf-example49
1 files changed, 49 insertions, 0 deletions
diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example
index 0953709..62d5836 100644
--- a/radsecproxy.conf-example
+++ b/radsecproxy.conf-example
@@ -28,3 +28,52 @@ TLSCertificateKeyPassword follow the white rabbit
# LOG_LOCAL0, ..., LOG_LOCAL7
#LogDestination x-syslog://
#LogDestination x-syslog://log_local2
+
+#Now we configure clients, servers and realms. Note that these and
+#also the lines above may be in any order, except that a realm
+#can only be configured to use a server that is previously configured.
+
+client 2001:db8::1 {
+ type tls
+ secret verysecret
+}
+client 127.0.0.1 {
+ type udp
+ secret secret
+}
+client radius.example.com {
+ type TLS
+# secret is optional for TLS
+}
+
+server 127.0.0.1 {
+ type UDP
+ secret secret
+}
+realm eduroam.cc {
+ server 127.0.0.1
+}
+
+server 2001:db8::1 {
+ type TLS
+ port 2283
+# secret is optional for TLS
+}
+server radius.example.com {
+ type tls
+ secret verysecret
+}
+
+realm example.com {
+ server 2001:db8::1
+}
+realm com {
+ server 2001:db8::1
+}
+# Matching of realms is done in the order specified.
+# Except * which is a catch all that is used as a last resort
+# The matching is going to be changed to be regexp of the
+# entire username value
+realm * {
+ server radius.example.com
+}