File: proxy.conf

package info (click to toggle)
freeradius 3.0.12%2Bdfsg-5%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 21,144 kB
  • ctags: 11,887
  • sloc: ansic: 109,067; sh: 5,176; perl: 2,648; sql: 1,397; python: 1,161; makefile: 374; xml: 62; tcl: 35; sed: 23; ruby: 22
file content (61 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
}