summaryrefslogtreecommitdiff
path: root/package/freeradius/files/radiusd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'package/freeradius/files/radiusd.conf')
-rw-r--r--package/freeradius/files/radiusd.conf73
1 files changed, 73 insertions, 0 deletions
diff --git a/package/freeradius/files/radiusd.conf b/package/freeradius/files/radiusd.conf
new file mode 100644
index 000000000..b9a573f69
--- /dev/null
+++ b/package/freeradius/files/radiusd.conf
@@ -0,0 +1,73 @@
+## radiusd.conf -- FreeRADIUS server configuration file.
+name = radiusd
+
+prefix = /usr
+exec_prefix = ${prefix}
+sysconfdir = /etc
+localstatedir = /var
+sbindir = ${exec_prefix}/sbin
+logdir = ${localstatedir}/log/radius
+raddbdir = /etc/freeradius
+radacctdir = ${logdir}/radacct
+# Location of config and logfiles.
+confdir = ${raddbdir}
+run_dir = ${localstatedir}/run
+db_dir = ${raddbdir}
+libdir = /usr/lib/freeradius
+pidfile = ${run_dir}/${name}.pid
+user = radius
+group = radius
+#chroot = /path/to/chroot/directory
+
+max_request_time = 30
+cleanup_delay = 5
+max_requests = 1024
+
+listen {
+ type = auth
+ ipaddr = *
+ port = 1812
+}
+
+listen {
+ type = acct
+ ipaddr = *
+ port = 1813
+}
+
+hostname_lookups = no
+allow_core_dumps = no
+regular_expressions = yes
+extended_expressions = yes
+
+log {
+ destination = syslog
+ syslog_facility = daemon
+ stripped_names = no
+ auth = no
+ auth_badpass = no
+ auth_goodpass = no
+}
+
+checkrad = ${sbindir}/checkrad
+
+security {
+ max_attributes = 200
+ reject_delay = 1
+ status_server = yes
+}
+
+$INCLUDE clients.conf
+
+thread pool {
+ start_servers = 4
+ max_servers = 8
+ min_spare_servers = 3
+ max_spare_servers = 10
+ max_requests_per_server = 0
+}
+modules {
+}
+
+instantiate {
+}