cparker: updated sample configurations and documentation to reflect
[freeradius.git] / raddb / proxy.conf
1 #
2 # proxy.conf - proxy radius and realm configuration directives
3 #
4 # This file is included by default.  To disable it, you will need
5 # to modify the PROXY CONFIGURATION section of "radiusd.conf".
6 #
7 #######################################################################
8 #
9 #  Proxy server configuration
10 #
11 #  This entry controls the servers behaviour towards ALL other servers
12 #  to which it sends proxy requests.
13 #
14 proxy server {
15
16 #
17 #  If the NAS re-sends the request to us, we can immediately re-send
18 #  the proxy request to the end server.  To do so, use 'yes' here.
19 #
20 #  If this is set to 'no', then we send the retries on our own schedule,
21 #  and ignore any duplicate NAS requests.
22 #
23 #  If you want to have the server send proxy retries ONLY when the NAS
24 #  sends it's retries to the server, then set this to 'yes', and
25 #  set the other proxy configuration parameters to 0 (zero).
26 #
27         synchronous = yes
28
29 #
30 #  The time (in seconds) to wait for a response from the proxy, before
31 #  re-sending the proxied request.
32 #
33 #  If this time is set too high, then the NAS may re-send the request,
34 #  or it may give up entirely, and reject the user.
35 #
36 #  If it is set too low, then the RADIUS server which receives the proxy
37 #  request will get kicked unnecessarily.
38 #
39         retry_delay = 5
40
41 #
42 #  The number of retries to send before giving up, and sending a reject
43 #  message to the NAS.
44 #
45         retry_count = 3
46 }
47
48 #######################################################################
49 #
50 #  Configuration for the proxy realms.
51 #
52 #  The information given here is used in conjunction with the 'realms'
53 #  file.  This format is preferred, as it is more flexible.
54 #
55 #realm isp2.com {
56 #       type        = radius
57 #       authhost    = radius.isp2.com:1645
58 #       accthost    = radius.isp2.com:1646
59 #       secret      = TheirKey
60 #       nostrip
61 #       utmpfile   += /var/log/radutmp.isp2
62 #       wtmpfile   += /var/log/radwtmp.isp2
63 #       detailfile += /var/log/radacct/isp2/detail
64 #}
65
66 #realm company.com {
67 #       type            = radius
68 #       authhost        = radius.company.com:1600
69 #       accthost        = radius.company.com:1601
70 #       secret          = testing123
71 #}
72
73 #realm bla.com {
74 #       type            = radius
75 #       authhost        = LOCAL
76 #       accthost        = LOCAL
77 #       secret          = testing123
78 #}
79
80 #realm myfakerealm {
81 #      type            = radius
82 #      authhost        = radius.company.com:1600
83 #      accthost        = radius.company.com:1601
84 #      secret          = testing123
85 #      notrealm
86 #}
87