LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CentOS 6.4(32) + PPTP + RADIUS + MySQL (https://www.linuxquestions.org/questions/linux-software-2/centos-6-4-32-pptp-radius-mysql-4175546053/)

guofengwang 06-22-2015 02:17 AM

CentOS 6.4(32) + PPTP + RADIUS + MySQL
 
The environment
CentOS 6.4(32) + PPTP + RADIUS + MySQL

Functions implemented
Use PPTP protocol built on CentOS system VPN service, VPN account authentication using RADIUS read MySQL account password information.

Individual Problem Description
Our VPN service is temporarily use the Window server 2003 system provides by default, VPN account passwords are system accounts, many problems, first, the system is not very safe, and the second, hires, separations, corresponding to the VPN account New and removing more complicated. Later superiors to consider the issues raised in this program is, VPN platform affiliates OA systems, VPN account information in the accounts and OA correspondence (not the same account and OA accounts), after removing and adding VPN account is not necessary to operate, as long as disable OA accounts on OK (according to the company require employees to entry, leaving OA accounts also need to do the appropriate action). Later on the network to find some materials, most use Linux + PPTP + RADIUS + MySQL platform architecture can achieve the company's needs, then try to build their own according to the curriculum, we come across a problem

Tutorial links:http://blog.chinaunix.net/xmlrpc.php...896&id=4554880
Problem description
VPN passwords are stored in plain text in the MySQL database, very unsafe!

Later, according to other tutorials supplements can achieve MySQL database VPN MD5 password encryption, but it is the emergence of new problems


Tutorial links:http://blog.chinaunix.net/uid-10449864-id-2956934.html
Problem description
RADIUS can be read properly in MySQL MD5 encrypted passwords, but PPTP service call RADIUS, you can not verify successful

Friends assist trouble about, about what the problem is, or there are other better options. THX

John VV 06-22-2015 08:08 PM

First
you are going to have issues with 6.4
it has been unsupported for almost two years

the current in the older 6 series is CentOS 6.6 ( 6.7 is do out soon )
and the current is CentOS 7.1

all the software repos for 6.4 were moved to the historical archive "The Vault" a long time ago

even the very last updates were moved to the historical archives

guofengwang 06-23-2015 03:19 AM

THX


All times are GMT -5. The time now is 04:34 AM.