Radius+httpd+php+mysql+dialupadmin Summary

Source: Internet
Author: User
Tags ldap mysql freeradius

RADIUS is a C/S architecture protocol whose client is originally a NAS (Net Access Server) server, and now any computer running RADIUS client software can become a RADIUS client. RADIUS protocol authentication mechanism is flexible, can use Papchap or UNIX login authentication and so on a variety of ways.

RADIUS is an extensible protocol in which all of the work is done based on attribute-length-value vectors. RADIUS also supports vendor-wide proprietary attributes. Because the RADIUS protocol is simple and clear, extensible, it has been widely used, including ordinary telephone network, ADSL Internet, Community broadband internet access, IP telephony, VPDN (Virtual Private Dialup Networks , based on dial-up user's virtual private dial-up network business), mobile phone prepaid fees and other services. Recently IEEE has proposed the 802.1X standard, which is a port based standard for access authentication for wireless networks and a RADIUS protocol for authentication.

1. System Environment CENTOS6

2. Software freeradius-2.1.10-5.el6.i686,mysql-5.1.61-1.el6_2.1.i686 php-5.3.3-3.el6_2.8.i686, freeradius-dialupadmin-2.1.1-2.fc10.i386,httpd-2.2.15-15.el6.centos.1.i686

3. Installation software

[Root@localhost ~]# yum-y httpd mysql mysql-devel mysql-server php freeradius freeradius-mysql httpd-devel php-devel GD php-mbstring Php-mysql php-xml freeradius-

Dialupadmin Perl-datemanip Php-pgsql Php-ldap

4. Set Boot up

[Root@localhost ~]# chkconfig httpd on

[Root@localhost ~]# chkconfig mysqld on

[Root@localhost ~]# chkconfig radius on

[Root@localhost ~]# chkconfig RADIUSD on

5. Configure the radiusd.conf file as follows:

[Root@localhost ~]# cd/etc/raddb///This is mainly the location of the configuration file

[Root@localhost raddb]# ls

Acct_users clients.conf.1 policy.conf sql//database file. sql file directory This needs to be imported into the database.

Attrs dictionary policy.txt sql.conf//sql configuration file

Attrs.access_challenge eap.conf preproxy_users SQL.CONF.1

Attrs.access_reject example.pl proxy.conf sqlippool.conf

Attrs.accounting_response hints radiusd.conf//Primary configuration file templates.conf

Attrs.pre-proxy huntgroups RADIUSD.CONF.1 Users

Certs Ldap.attrmap sites-available Users.1

clients.conf//Client configuration file Modules sites-enabled

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.