Previously is Centos5, according to the network of a key installation package can be installed PPTP VPN, but replaced by Centos6.2, anyway, said the file does not exist. The following is Centos6.5 a key to build PPTP VPN script and installation method, I only in 64-bit CentOS system test successfully, 32-bit please test yourself.
First step, download the PPTP VP
I contacted the VPS host also have a period of time, the accumulation of tutorials can basically meet the novice webmaster learning and use the VPS to build the site. Recently, the old left to do a survey, consulted a lot of the use of VPS host webmaster, found that many parts of the purchase of VPS Webmaster is not used to build stations, but to build their own
Build PPTP of VPN Server and vpnpptp
First milestone: Check whether the system supports ppp
[root@m01 ~]# cat /dev/pppcat: /dev/ppp: No such device or address
If the above prompt is displayed, the ppp is enabled and the pptp service can be set up normally. If there are other prompts such as Permission denied, you need to go to the VPS panel to see if there is any enable ppp function switch.
Second milestone
Do not look down, according to use PRITUNL to build VPN server to do relatively simple
The instructions on the Internet are all rubbish, all kinds of chaos. It's a waste of my time.
Installing PPTP server
sudo yum install pptpd-y
Edit
Vim/etc/ppp/chap-secretsJoin a line
User name pptpd Password *Start pptpd
Service PPTPD StartTry to connect to the client, establish a PPTP connection, remember to go t
give execution permissions.
Cp-r/usr/share/doc/openvpn-*/easy-rsa/etc/openvpncd/etc/openvpn/easy-rsa/2.0chmod +x *Execute the following command to create the certificate.
Ln-s openssl-1.0.0.cnf openssl.cnf. VARs./clean-all./BUILD-CA Server./build-key-server Server./build-key Client./BUILD-DH3, create OpenVPN configu
Build a vpn code server in CentOS
I. Preparation
1. First, you must buy a foreign server. If you only want to experience the Download force process, we recommend a $3.99 centos6 server. Purchase URL: budgetvm.com.2. Get the corresponding configuration and connect to the server through securecrt. Then you can start to install B.
Ii. Focus
1. shadowsocks Server Installation tutorial (the link is not gua
Since Linux itself does not have integrated PPTP functionality, it is necessary to install the relevant components to allow our Redhat to support PPTP, according to the kernel version, download the appropriate installation package, the components used are as follows:
dkms-2.2.0.3-1.noarch.rpm
kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
Pptpd-1.3.4.tar.gz
1.PPTP requires PPP support, although the system itself has PPP capabilities, but it does not support MPPE, so you need to update the system's P
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.