3 ## radrelay.conf -- FreeRADIUS server configuration file.
5 ## Use with: radiusd -n radrelay
7 ## http://www.freeradius.org/
11 ######################################################################
13 # This file is a sample configuration that replaces the old
14 # "radrelay" program. It is a *minimal* configuration that
15 # does little more than read the detail file, and proxy the
16 # packets to a home server. If you need it to do more than
17 # just replace radrelay, you will need to add additional
20 # See raddb/sites-available/copy-acct-to-home-server for a
21 # more complete example. That example is intended to be run
22 # as part of a larger radius configuration, where the server
23 # also listens on ports 1812, etc. The example given here
24 # is a minimal example that has ONLY radrelay functionality.
26 # See radiusd.conf for a complete description of the configuration
27 # parameters used here.
29 ######################################################################
32 exec_prefix = @exec_prefix@
33 sysconfdir = @sysconfdir@
34 localstatedir = @localstatedir@
38 radacctdir = @radacctdir@
41 # name of the running server. See also the "-n" command-line option.
46 # Generic configuration
49 run_dir = ${localstatedir}/run/${name}
51 pidfile = ${run_dir}/${name}.pid
54 # Request handling configuration
65 file = ${logdir}/${name}.log
69 # Security configuration
74 # reject_delay && status_server don't apply when we are
75 # only reading accounting packets from the detail file
79 # If you need more modules, add them here.
82 $INCLUDE ${confdir}/modules/always
86 # If you need to instantiate modules, add them here.
92 # Configuration of home servers, etc.
97 # See proxy.conf for additional home server configuration.
103 # This directive replaces the "-r" command-line option
111 # This directive replaces the "-i" command-line option
114 # src_ipaddr = 192.0.2.1
117 # This directive replaces the "-s", "-S", and "-n" command-line
118 # options in radrelay
124 # List one or more home servers here for fail-over, load-balancing, etc.
126 home_server_pool radrelay {
139 # Read the detail file.
145 # The filename here should be the same as the one used by the
146 # main radiusd program. It writes the file using the "detail"
147 # module (see raddb/modules/detail).
149 filename = ${radacctdir}/detail
154 # See also raddb/sites-available/copy-acct-to-home-server
155 # for additional description.
159 # Proxy the packet using the given realm.
160 # Note that we do not use the realm for anything else such
161 # as prefix/suffix stripping or comparisons.
164 Proxy-To-Realm := "radrelay"