/LinOTP-and-FreeRadius

LinOtp and FreeRadius on Centos 7

Primary LanguagePerl

# LinOTP-and-FreeRadius
LinOtp and FreeRadius on Centos 7

Install LinOTP:

https://www.linotp.org/doc/latest/part-installation/server-installation/rpm_install.html

Install freeradius:

yum install freeradius
yum install freeradius-perl
yum install freeradius-utils

Install Perl modules:

yum install perl-Try-Tiny
yum install perl-LWP-Protocol-https
yum install perl-Config-IniFiles

Copy:

rm /etc/raddb/{clients.conf,users}
cp linotp /etc/raddb/sites-available/linotp
cp perl /etc/raddb/mods-available/perl
cp users /etc/raddb/users
cp clients.conf /etc/raddb/clients.conf
cp radius_linotp.pm /usr/lib/linotp/radius_linotp.pm
cp rlm_perl.ini /etc/linotp2/rlm_perl.ini

Link:

rm /etc/raddb/sites-enabled/{default,inner-tunnel}
rm /etc/raddb/mods-enabled/eap
cd /etc/raddb/sites-enabled/
ln -s ../sites-available/linotp /etc/raddb/sites-enabled
cd /etc/raddb/mods-enabled
ln -s ../mods-available/perl /etc/raddb/mods-enabled

Configure rlm_perl.ini to your envirenmant