Install pptpd VPN in Centos 6.5x64

Source: Internet
Author: User
Tags vps

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

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.