radiusd.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # radiusd.conf -- FreeRADIUS server configuration file.
  2. prefix = /usr
  3. exec_prefix = /usr
  4. sysconfdir = /etc
  5. localstatedir = /var
  6. sbindir = ${exec_prefix}/sbin
  7. logdir = /var/log/freeradius
  8. raddbdir = /etc/freeradius/3.0
  9. radacctdir = ${logdir}/radacct
  10. # name of the running server. See also the "-n" command-line option.
  11. name = freeradius
  12. # Location of config and logfiles.
  13. confdir = ${raddbdir}
  14. modconfdir = ${confdir}/mods-config
  15. certdir = ${sysconfdir}/raddb/certs
  16. cadir = ${sysconfdir}/raddb/certs
  17. run_dir = ${localstatedir}/run/${name}
  18. # Should likely be ${localstatedir}/lib/radiusd
  19. db_dir = ${raddbdir}
  20. # libdir: Where to find the rlm_* modules.
  21. libdir = ${exec_prefix}/lib
  22. # pidfile: Where to place the PID of the RADIUS server.
  23. pidfile = ${run_dir}/${name}.pid
  24. # correct_escapes: use correct backslash escaping
  25. correct_escapes = true
  26. # max_request_time: The maximum time (in seconds) to handle a request.
  27. max_request_time = 30
  28. # cleanup_delay: The time to wait (in seconds) before cleaning up
  29. cleanup_delay = 5
  30. # max_requests: The maximum number of requests which the server keeps
  31. max_requests = 1024
  32. # hostname_lookups: Log the names of clients or just their IP addresses
  33. hostname_lookups = no
  34. # Logging section
  35. log {
  36. destination = files
  37. colourise = yes
  38. file = ${logdir}/radius.log
  39. syslog_facility = daemon
  40. stripped_names = no
  41. auth = yes
  42. auth_badpass = yes
  43. auth_goodpass = yes
  44. }
  45. # The program to execute to do concurrency checks.
  46. checkrad = ${sbindir}/checkrad
  47. # SECURITY CONFIGURATION
  48. security {
  49. user = freerad
  50. group = freerad
  51. allow_core_dumps = no
  52. max_attributes = 200
  53. reject_delay = 1
  54. status_server = yes
  55. }
  56. # PROXY CONFIGURATION
  57. proxy_requests = yes
  58. $INCLUDE proxy.conf
  59. # CLIENTS CONFIGURATION
  60. $INCLUDE clients.conf
  61. # THREAD POOL CONFIGURATION
  62. thread pool {
  63. start_servers = 5
  64. max_servers = 32
  65. min_spare_servers = 3
  66. max_spare_servers = 10
  67. max_requests_per_server = 0
  68. auto_limit_acct = no
  69. }
  70. # MODULE CONFIGURATION
  71. modules {
  72. $INCLUDE ${confdir}/mods-enabled/
  73. }
  74. # Policies
  75. policy {
  76. $INCLUDE policy.d/
  77. }
  78. # Include all enabled virtual hosts
  79. $INCLUDE sites-enabled/