Onekey installation VPN (PPTPD) installation package

Onekey installation VPN (PPTPD) installation package

vpn

VPN (PPTPD) installation package, support Centos6 and Centos7. support Openvz and KVM

The installation of VPN (PPTPD) package really support the full range of Centos, including Centos5, Centos6 and Centos7. are either OpenVZ or kvm.

Before the installation of pptpd is very painful, different methods of OpenVZ and KVM, centos6 and centos7 are different.So this put them together.

Pay special attention to:

  1. Centos7 will automatically disable the default firewall, install iptables.So if there is a special need students don’t touch.
  2. When installed VPN will automatically add the EPEL Yum source, Jiepi or special needs note
  3. When installing VPN will automatically uninstall the original installation of PPP and pptpd, so even if there is no need to manually uninstall to reload their
  4. There is not installed, not normal use please message, I try to solve.

Install command:

WGet – No – Check – Certificate HTTPS : / / Raw .githubusercontent .com / 91yun / VPN / Master / Vpn_centos_pptpd .sh & & Bash Vpn_centos_pptpd .sh

Option 1: install VPN

Option 2: add VPN account (after the installation, ready to use bash vpn_centos_pptpd.sh to select the 2 add VPN account.Of course, and also you can edit the /etc/ppp/chap-secrets directly

vi /etc/ppp/chap-secrets

root

Leave a Reply

Your email address will not be published. Required fields are marked *