summaryrefslogtreecommitdiff
path: root/radsecproxy.conf-example
diff options
context:
space:
mode:
authorvenaas <venaas>2008-10-07 11:41:10 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-10-07 11:41:10 +0000
commit045e082e8c642cf3bbefe6777005b3481ca0fad9 (patch)
tree1bdc9928d09a7ce1566d9e2352b0abc8dfd60715 /radsecproxy.conf-example
parent47cef5d953596d1d00b0c3735e093e0003273435 (diff)
updates to readme/changelog etc
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@424 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.conf-example')
-rw-r--r--radsecproxy.conf-example44
1 files changed, 40 insertions, 4 deletions
diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example
index f88bfad..fdae1dd 100644
--- a/radsecproxy.conf-example
+++ b/radsecproxy.conf-example
@@ -7,14 +7,18 @@
# Max one of each, below are just multiple examples
#ListenUDP *:1814
#listenUDP localhost
-#listenTCP 10.10.10.10:2084
-#ListenTCP [2001:700:1:7:215:f2ff:fe35:307d]:2084
+#ListenTCP [2001:700:1:7:215:f2ff:fe35:307d]:1812
+#listenTLS 10.10.10.10:2084
+#ListenTLS [2001:700:1:7:215:f2ff:fe35:307d]:2084
+#ListenDTLS [2001:700:1:7:215:f2ff:fe35:307d]:2084
# To listen to the default or other Accounting port for UDP you need e.g.
#ListenAccountingUDP *:1813
# To specify a certain address/port for UDP/TLS requests you can use e.g.
#SourceUDP 127.0.0.1:33000
-#SourceTCP *:33001
+#SourceTCP *:33000
+#SourceTLS *:33001
+#SourceDTLS *:33001
# Optional log level. 3 is default, 1 is less, 4 is more
#LogLevel 3
#Optional LogDestinatinon, else stderr used for logging
@@ -51,6 +55,8 @@ tls default {
CertificateKeyPassword "follow the white rabbit"
# Optionally enable CRL checking
# CRLCheck on
+ # Optionally specify how long CAs and CRLs are cached, default forever
+ # CacheExpiry 3600
}
#If you want one cert for all clients and another for all servers, use
@@ -72,6 +78,14 @@ tls default {
#To treat local users separately you might try first specifying "@"
#and after that "*".
+# Configure a rewrite block if you want to add/remove/modify attributes
+# rewrite example {
+# removeAttribute 5
+# removeVendorAttribute 99:100
+# addAttribute 4 attribute%20value
+# modifyAttribute 1:/^(.*)@local$/$1@example.com/
+# }
+
client 2001:db8::1 {
type tls
secret verysecret
@@ -84,15 +98,31 @@ client 2001:db8::1 {
client 127.0.0.1 {
type udp
secret secret
+# Might do rewriting of incoming messages using rewrite block example
+# rewriteIn example
+# Can also do rewriting of outgoing messages
+# rewriteOut example
+}
+client 127.0.0.1 {
+ type tcp
+ secret secret
}
client radius.example.com {
- type TLS
+ type tls
# secret is optional for TLS
}
+client radius.example.com {
+ type dtls
+# secret is optional for DTLS
+}
server 127.0.0.1 {
type UDP
secret secret
+# Might do rewriting of incoming messages using rewrite block example
+# rewriteIn example
+# Can also do rewriting of outgoing messages
+# rewriteOut example
}
realm eduroam.cc {
server 127.0.0.1
@@ -116,6 +146,12 @@ server radius.example.com {
StatusServer on
# statusserver is optional, can be on or off. Off is default
}
+#server radius.example.com {
+# type dtls
+# secret verysecret
+# StatusServer on
+## statusserver is optional, can be on or off. Off is default
+#}
# Equivalent to example.com
realm /@example\.com$ {