⚠ This script cannot be used for Ubuntu due to the discrepancy between the installation process of Ubuntu system and Centos system
wget -N https://raw.githubusercontent.com/fuingzu/Openvpn-deployment/main/install-centos.sh && bash install-centos.sh
If the server cannot access Github raw, you can manually copy the script to the server
yum -y remove epel-release && yum -y remove openvpn easy-rsa && rm -rf /etc/openvpn
❕ All services related to Openvpn cannot be used after uninstallation, please operate with caution