One-click pptp vpn Server construction on Centos6

Source: Internet
Author: User

Many of my friends will not install vpn in CENTOS, because it is a dizzy task for cainiao to install VPN, especially openvpn. However, installing pptp is a little simpler, there are a lot of tutorials on installing pptp on the Chinese site, but they are complicated. I found a one-click installation solution for pptv vpn on a foreign website. I would like to share with you here.

The following is an operation command. Of course, you must first enter your SSH

Wget http://www.centoscn.com/tool/pptpd6.sh

This command downloads the Installation File

Sh pptpd6.sh

Use the root account to run the above command. The PPTP will be installed with one click. It is fully automatic. After the installation is complete, your VPN user name and password will be automatically displayed on your screen.

The account and password of pptp vpn are in etc/ppp/chap-secrets. You can use the following command to enter the file and modify it.

Vi/etc/ppp/chap-secrets

The operation is so simple that it will be helpful to everyone.

Tip:

If you have the following errors

Iptables: Saving firewall rules to/etc/sysconfig/iptables:/etc/init. d/iptables: line 268: restorecon: command not found

You can run the following command:

Yum install policycoreutils


Original article: http://www.rockia.com/2012/03/install-pptpd-vpn-on-xen-centos-6-in-1-minute


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.