Install pptpd VPN in Centos 6.5x64
This tutorial applies to Openv VPS, Xen VPS, or kvm vps.
1. Run the following command:
Cat/dev/net/tun
The returned value must be:
Cat:/dev/net/tun: File descriptor in bad state
Run:
Cat/dev/ppp
The returned value must be:
Cat:/dev/ppp: No such device or address
If these two results are not returned, contact the VPS customer service to activate the ppp and tun permissions.
Ii. Download the one-key installation package for vpn (dedicated for CentOS6)
Wget http://www.hi-vps.com/shell/vpn_centos6.sh
Chmod a + x vpn_centos6.sh
3. Run the one-click installation package
Bash vpn_centos6.sh
There are three options:
1. Install the VPN Service
2. VPN repair
3. Add a VPN user
Enter 1 and press enter to start installing the VPN service.
4. Add a VPN user
Bash vpn_centos6.sh
Select 3, enter the user name and password, OK
5. VPN service repair
If a VPN dialing error occurs, try to fix the VPN and restart the VPS.
Bash vpn_centos6.sh
Select 2, and then reboot
The above is