šŸ›”ļø Set Up a VPN on Your VPS in Minutes with Our One-Click Script (OpenVPN + WireGuard)

Looking to set up your own secure VPN server without spending hours reading tutorials or configuring files manually?

Hosteons now offers a free, open-source VPN One-Click Installer that helps you launch either OpenVPN or WireGuard on your VPS within minutes. Whether you’re using UbuntuDebianCentOS, or AlmaLinux, this script has you covered.


āœ… Why Use This Script?

  • SupportsĀ both OpenVPN and WireGuard
  • Works on most major Linux distros
  • Secure and production-ready defaults
  • Fully automated — minimal input required
  • Outputs ready-to-use config files for clients
  • Ideal for privacy, remote access, and secure browsing

🧰 Supported Operating Systems

  • Ubuntu 20.04 / 22.04
  • Debian 11 and above
  • AlmaLinux 8 / 9
  • CentOS 7 / 8

šŸš€ How to Use

SSH into your VPS and run:

wget https://raw.githubusercontent.com/hosteons/vpn-oneclick-installer/main/vpn_installer.sh
chmod +x vpn_installer.sh
sudo ./vpn_installer.sh

You’ll be prompted to choose:

1) WireGuard
2) OpenVPN

Based on your choice, the script installs and configures the selected VPN protocol, generates certificates or keys, configures firewall rules, and finally saves your client configuration file in:

  • /root/client.ovpnĀ for OpenVPN
  • /root/client.confĀ for WireGuard

You can then download these and import into your VPN app.


šŸ”’ What’s Under the Hood?

For OpenVPN, the script uses Easy-RSA to:

  • Generate CA, server, and client certs
  • Create Diffie-Hellman parameters
  • Build a secureĀ server.conf
  • Auto-start the VPN service when supported

For WireGuard, it:

  • Generates private/public key pairs
  • Sets up a basic peer-to-peer configuration
  • EnablesĀ wg-quick@wg0

šŸ“‚ GitHub Repository

Explore, star, or fork the repo:

šŸ‘‰ https://github.com/hosteons/vpn-oneclick-installer

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.