CentOS Install to configure PPTP and combine Freeradius authentication

Source: Internet
Author: User
Tags zip freeradius


The configuration of this post is CentOS5 32bit, the process of configuring the PPTP is not written, if you do not please search the blog itself, the following post the integration Freeradius need to be configured:



PPTP Client Configuration section


The code is as follows

wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/radiusclient-0.3.2-0.2.el5.rf.i386.rpm
Rpm-i radiusclient-0.3.2-0.2.el5.rf.i386.rpm



Vim/etc/radiusclient/servers


The code is as follows

#Server Name or Client/server pair Key
#----------------    ---------------
#portmaster. Elemental.net Hardlyasecret
#portmaster2. Elemental.net Donttellanyone
Your_radius_server_hostname_or_ip Your_radius_server_secret



Vim/etc/radiusclient/radiusclient.conf


The code is as follows

Auth_order radius,local
Login_tries 4
Login_timeout 60
Nologin/etc/nologin
Issue/etc/radiusclient/issue www.111cn.net
Authserver radius_server_ip_or_hostname:1812
Acctserver radius_server_ip_or_hostname:1813
Servers/etc/radiusclient/servers
Dictionary/etc/radiusclient/dictionary
Login_radius/usr/sbin/login.radius
Seqfile/var/run/radius.seq
Mapfile/etc/radiusclient/port-id-map
Default_realm
Radius_timeout 10
Radius_retries 3
Login_local/bin/login

cd/etc/radiusclient/
wget Http://safesrv.net/public/dictionary.microsoft.zip
Unzip Dictionary.microsoft.zip


Vim/etc/radiusclient/dictionary



Add the following fields:


The code is as follows

Include/etc/radiusclient/dictionary.microsoft
Include/etc/radiusclient/dictionary.ascend
Include/etc/radiusclient/dictionary.compat
Include/etc/radiusclient/dictionary.merit


Vim/etc/ppp/options.pptpd



Join:


The code is as follows


Plugin radius.so
Plugin radattr.so

Service pptpd Restart
Chkconfig pptpd on


Freeradius Add Authentication Client



Vim/etc/raddb/clients.conf


  code is as follows

Client VPN Server IP here {
    secret      = YOUR secret here
    sh ortname   = Yourvpn
    nastype     = Other
}

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.