Radius Server: Difference between revisions

no edit summary
m (m)
No edit summary
Line 1:
[[Category:Lab]]
__NOTOC__
 
=Installing FreeRadius=
Installing freeradius in Ubuntu 16.10:
 
Line 6 ⟶ 8:
sudo apt-get install freeradius
 
== Configuration ==
Edit the freeradius users:
sudo nano /etc/freeradius/users
Line 30 ⟶ 33:
 
You will get Access-Accept packet and "Hello, John Doe" messages.
 
== Logging =
 
The "log" section of the radiusd.conf file is where the primary logging configuration for the FreeRADIUS server is located.
<pre>
log {
destination = files
file = ${logdir}/radius.log # If Server is running in debugging mode, this file is NOT used.
# requests = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d.log
syslog_facility = daemon
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
# msg_goodpass = ""
# msg_badpass = ""
}
</pre>
 
Destination options:
files - log to "file", as defined below.
syslog - send log messages to syslog
stdout - log to standard output.
stderr - log to standard error.
 
 
<br />