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 @   夨忆′  阅读(565)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示