Hi,大家好,我是编程小6,很荣幸遇见你,我把这些年在开发过程中遇到的问题或想法写出来,今天说一说FreeRadius安装与配置「建议收藏」,希望能够帮助你!!!。
详见官网http://freeradius.org
./configure --prefix=/opt/freeradius-server --with-openssl-includes=/usr/local/include/ --with-openssl-libraries=/usr/local/lib64 --with-rlm-mysql-lib-dir=/opt/mysql/lib/ --with-rlm-mysql-include-dir=/opt/mysql/include/
make
make install
文件:/opt/freeradius-server/etc/raddb/clients.conf添加如下配置:client host_vlan123 {ipaddr = 10.8.2.253secret = secretrequire_message_authenticator = no
文件:/opt/freeradius-server/etc/raddb/sql.confdatabase = "mysql"## Which FreeRADIUS driver to use.#driver = "rlm_sql_${database}"# Connection info:server = "localhost"#port = 3306login = "root"password = "123456"
文件:/usr/local/freeradius-server/etc/raddb/sites-available/default把authorize{} 、accounting {}中的sql前面的#去掉,并把authorize{}中的files前加#
文件 :/etc/raddb/radiusd.conf将allow_vulnerable_openssl = no改为allow_vulnerable_openssl = yes。
文件:/etc/raddb/radiusd.conf将modules模块下的$INCLUDE sql.conf的注释去掉
上一篇
已是最后文章
下一篇
已是最新文章