From c791194cf87a3b9a0270d6dc26c6a0ea9d8db96e Mon Sep 17 00:00:00 2001 From: venaas Date: Tue, 29 May 2007 13:48:21 +0000 Subject: added reject support git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@111 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.conf-example | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'radsecproxy.conf-example') 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 * { -- cgit v1.1