How to install Radius server on CentOS 7 with daloradius||Free-radius||Server|| 2022||Part-3
RADIUS is a protocol that was originally designed to authenticate remote users to a dial-in access server. RADIUS is now used in a wide range of authentication scenarios. RADIUS is a client-server protocol, with the Firebox as the client and the RADIUS server as the server.
#radius #aaa #centos #free
used command:
=================================================
sudo firewall-cmd –add-service={http,https,radius} –permanent
sudo firewall-cmd –reload
sudo ss -tunlp | grep radiusd
Step 5: Configure FreeRADIUS:
——————————————————-
sudo su –
mysql -u root -p radius /etc/raddb/mods-config/sql/main/mysql/schema.sql
sudo ln -s /etc/raddb/mods-available/sql /etc/raddb/mods-enabled/
sudo vi /etc/raddb/mods-available/sql
****
sql {
driver = “rlm_sql_mysql”
dialect = “mysql”
# Connection info:
server = “localhost”
port = 3306
login = “radius”
password = “StrongradIusPass”
# Database table configuration for everything except Oracle
radius_db = “radius”
}
# Set to ‘yes’ to read radius clients from the database (‘nas’ table)
# Clients will ONLY be read on server startup.
read_clients = yes
# Table to keep radius client info
client_table = “nas”
****
sudo chgrp -h radiusd /etc/raddb/mods-enabled/sql
Step 6: Install and Configure Daloradius
—————————————
sudo yum -y install wget
wget https://github.com/lirantal/daloradius/archive/master.zip
unzip master.zip
mv daloradius-master/ daloradius
mysql -u root -p radius daloradius/contrib/db/fr2-mysql-daloradius-and-freeradius.sql
mysql -u root -p radius daloradius/contrib/db/mysql-daloradius.sql
sudo mv daloradius /var/www/html/
sudo chown -R apache:apache /var/www/html/daloradius/
sudo mv /var/www/html/daloradius/library/daloradius.conf.php.sample /var/www/html/daloradius/library/daloradius.conf.php
sudo chmod 664 /var/www/html/daloradius/library/daloradius.conf.php
sudo vi /var/www/html/daloradius/library/daloradius.conf.php
****
$configValues[‘CONFIG_DB_HOST’] = ‘localhost’;
$configValues[‘CONFIG_DB_PORT’] = ‘3306’;
$configValues[‘CONFIG_DB_USER’] = ‘radius’;
$configValues[‘CONFIG_DB_PASS’] = ‘StrongradIusPass’;
$configValues[‘CONFIG_DB_NAME’] = ‘radius’;
***
sudo systemctl restart radiusd.service httpd
systemctl status radiusd.service httpd
sudo pear install DB
sudo pear install MDB2
http://ip-address/daloradius/login.php
centos 7
Thank you for taking the time to watch this video. I value your feedback, so please feel free to share your thoughts and opinions in the comments below. Your feedback helps me improve and create better content for you all. Don't forget to like and subscribe if you enjoyed the video. Thank you again, and see you in the next one! 🙏😊
After completing the installation(The version of freeradius is 3.0.13, and the version of daloaradius is 1.3), I can access the WEB page, but the web page can't display the authenticated user information and billing information normally, how to troubleshoot this status?
░p░r░o░m░o░s░m░