One-Click PPTPD VPN Installation Script for All CentOS Versions

Because of the firewall issue built into CentOS
7, this script will automatically disable the default firewall and install iptables.

When installing the VPN, this script will automatically add the epel yum repository.

When installing the VPN, this script will automatically uninstall any installed ppp and pptpd, so there is no need to uninstall them before reinstalling.

Installation Steps

  1. wget nocheckcertificate https://softs.fun/Bash/vpn/Centos_pptpd_vpn.sh &&
    chmod +x Centos_pptpd_vpn.sh && bash
    Centos_pptpd_vpn.sh

After running the script, you will be prompted to choose whether to install the VPN service or add a VPN account.

Choose 1 to install the VPN service (pptpd)

Choose 2 to add a VPN account

After installation, you can run the script at any time bash Centos_pptpd_vpn.sh and choose 2 to add a VPN account.

View VPN account/password:

  1. cat /etc/ppp/chapsecrets

Modify VPN account/password:

  1. vi /etc/ppp/chapsecrets

Leave a Comment

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

中文 EN
🚀

RedGate VPN

免费节点太挤太慢?
升级高速稳定专线

立即体验 →

告别卡顿

RedGate VPN
全球高速节点

免费下载 →
Scroll to Top