Install FreeRADIUS on centos 6.5

Source: Internet
Author: User
Tags freeradius

1. Yum-y install FreeRADIUS-mysql FreeRADIUS-utils mysql-Server
Service mysqld start; chkconfig mysqld on
Mysql_secure_installation

2. mysql-uroot-P
Mysql> Create Database radius;
Mysql> grant all privileges on radius. * to [email protected] identified by "radpass ";
Mysql> flush privileges;
Mysql> use radius;
Mysql> source/etc/raddb/SQL/MySQL/Schema. SQL


3. VI/etc/raddb/SQL. conf

# Connection info:
Server = "localhost"
# Port = 3306
Login = "radius"
Password = "radpass"

# Database Table configuration for everything doesn't Oracle
Radius_db = "radius"

4. VI/etc/raddb/radiusd. conf
$ Include SQL. conf

5. VI/etc/raddb/sites-available/Default
# Line 177
SQL
# Line 406
SQL

VI/etc/raddb/sites-available/Inner-Tunnel
# Line 131
SQL
# Line255
SQL

6. VI/etc/raddb/clients. conf
Client vpn_server_ip {
Secret = your secret here
Shortname = yourvpn
Nastype = Other
}

7. Service radiusd start; chkconfig radiusd on

8. mysql-uroot-P
Mysql> use radius;
Mysql> insert into 'radcheck' ('id', 'username', 'attribute', 'op', 'value') values (1, 'test ', 'User-password', ': =', 'test ');

Radtest test vpn_server_ip 0 testing123

This article is from the ilovecat blog, be sure to keep this source http://hj192837.blog.51cto.com/655995/1544923

Install FreeRADIUS on centos 6.5

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.