summaryrefslogtreecommitdiff
path: root/radsecproxy.conf-example
diff options
context:
space:
mode:
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 * {