radius服务器搭建

yum install -y unzip gcc-c++

cd /opt
unzip release-stable.zip
mv ToughRADIUS-release-stable toughradius
cd toughradius
make all
make initdb

setenforce 0
systemctl disable firewalld.service
systemctl stop firewalld.service
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config

systemctl enable toughradius.service
systemctl start toughradius.service


管理后台端口1816
认证端口1812
计费端口1813

接入设备地址需要填写路由认证的网卡IP地址,而不是虚拟IP地址

如果不同网段IP地址,radius服务器需要配置网卡的IP,网关。

 

posted @ 2016-05-04 15:34  夨忆′  阅读(556)  评论(0编辑  收藏  举报