Skip to content

ZocStorm/LinOTP-and-FreeRadius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 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

About

LinOtp and FreeRadius on Centos 7

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages