This is a one-click Bash script that installs a secure VPN server using either OpenVPN or WireGuard on popular Linux distributions.
- Ubuntu 20.04 / 22.04
- Debian 11+
- AlmaLinux 8 / 9
- CentOS 7 / 8
- Choose OpenVPN or WireGuard interactively
- Secure, production-ready defaults
- Easy-RSA automation for OpenVPN (TLS, certs, client config)
- Client
.ovpnor.confoutput saved to/root/ - Works on Hosteons VPS or any KVM VPS
wget https://raw.githubusercontent.com/hosteons/vpn-oneclick-installer/main/vpn_installer.sh
chmod +x vpn_installer.sh
sudo ./vpn_installer.sh/root/client.ovpn(OpenVPN)/root/client.conf(WireGuard)
Choose VPN type to install:
1) WireGuard
2) OpenVPN
Enter your choice [1-2]:- Website: https://hosteons.com
- Support: https://my.hosteons.com
- Blog: https://blog.hosteons.com
This project is licensed under the MIT License. See LICENSE file for details.