summaryrefslogtreecommitdiff
path: root/radsecproxy.conf-example
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-29 13:48:21 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-29 13:48:21 +0000
commitc791194cf87a3b9a0270d6dc26c6a0ea9d8db96e (patch)
tree4b23709ca869b13a2e796c86bd94755593d7d692 /radsecproxy.conf-example
parentedb4444be43db1821427e595bdfbe58b2af3577c (diff)
added reject support
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@111 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.conf-example')
-rw-r--r--radsecproxy.conf-example8
1 files changed, 7 insertions, 1 deletions
diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example
index 6cda59e..6dc133b 100644
--- a/radsecproxy.conf-example
+++ b/radsecproxy.conf-example
@@ -79,8 +79,14 @@ server radius.example.com {
realm /@example\.com$ {
server 2001:db8::1
}
+# One can define a realm without servers, the proxy will then reject
+# and requests matching this. Optionally one can specify ReplyMessage
+# attribute to be included in the reject message.
+#
realm /\.com$ {
- server 2001:db8::1
+}
+realm /^anonymous$ {
+ replymessage "No Access"
}
# The realm below is equivalent to /.*
realm * {