diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:49:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:49:46 +0000 |
commit | 50b37d4a27d3295a29afca2286f1a5a086142cec (patch) | |
tree | 9212f763934ee090ef72d823f559f52ce387f268 /src/tests/proxy.conf | |
parent | Initial commit. (diff) | |
download | freeradius-upstream/3.2.1+dfsg.tar.xz freeradius-upstream/3.2.1+dfsg.zip |
Adding upstream version 3.2.1+dfsg.upstream/3.2.1+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tests/proxy.conf')
-rw-r--r-- | src/tests/proxy.conf | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/tests/proxy.conf b/src/tests/proxy.conf new file mode 100644 index 0000000..a6536e7 --- /dev/null +++ b/src/tests/proxy.conf @@ -0,0 +1,61 @@ +# +# This is a LOCAL realm +# +realm example.com { + nostrip +} + +# +# And another one, where we strip the realm +# +realm stripped.example.com { + +} + +# +# Some home servers, server pools, and realms. This tests that +# the server can load them. Functionality is in another test. +# +home_server auth_one { + type = auth + ipaddr = 127.0.0.1 + port = 12360 + secret = testing123 +} + +home_server auth_two { + type = auth + ipaddr = 127.0.0.1 + port = 12370 + secret = testing123 +} + +server_pool fail-over { + type = fail-over + home_server = auth_one + home_server = auth_two +} + +server_pool load-balance { + type = load-balance + home_server = auth_one + home_server = auth_two +} + +server_pool client-balance { + type = client-balance + home_server = auth_one + home_server = auth_two +} + +realm fail-over { + auth_pool = fail-over +} + +realm load-balance { + auth_pool = load-balance +} + +realm client-balance { + auth_pool = client-balance +} |