yopvpn
YoP VPN is a Drupal module that enables privacy-conscious users to set up and manage their own VPN server using WireGuard directly from their Drupal site. Ideal for users new to VPNs or Drupal, this module provides a simple, automated solution to launch a fast, secure, and cost-effective VPN server—without relying on third-party providers.
Whether you're bypassing geo-restrictions, securing your connection on public Wi-Fi, or building a private developer environment, Private VPN puts you in control of your traffic and privacy.
Features
Basic Functionality:
- One-click VPN deployment to a new VPS using WireGuard
- Generates secure client configuration files (including QR code for mobile)
- SSH key authentication for secure provisioning
- Downloadable config files for easy import into WireGuard clients
- Integration with VPS providers (Hetzner, DigitalOcean, etc.)
Unique Features:
- Fully self-hosted solution—no third-party VPN service needed
- CLI and Drupal UI support for non-technical and power users
- Auto-generation of secure peer/client configuration with QR for mobile
- Lightweight and fast (uses WireGuard’s modern cryptography)
Use Cases:
- Watch region-locked content while traveling
- Avoid paying for expensive commercial VPNs
- Connect securely to your home or dev servers
- Provide secure VPN access for teams, families, or clients
Post-Installation
After installing the Private VPN module:
- Navigate to /admin/content, click on Add content -> VPN.
- Copy & paste the already created SSH public key to your VPS provider account (this is used to access your VPS).
- Create your VPS server with your provider.
- Enter your VPS IP address and start the deployment script.
- Once provisioning is complete, import the configuration file into your WireGuard client app and/or scan the generated QR code from your mobile device’s WireGuard app.
The module manages the configuration for you and guides you through each step..
Additional Requirements
Required:
- A VPS (Virtual Private Server) with public IP (from Hetzner, DigitalOcean, Linode, etc.)
- SSH access via public/private key pair
- WireGuard client app installed on your computer or mobile device
Drupal Dependencies:
- None beyond Drupal core (CLI script runs outside Drupal runtime)
Similar projects
There are few Drupal modules providing direct server provisioning. Most VPN-related solutions are either:
- Proxy-based web modules
- Integration with external APIs
Private VPN differs by offering:
- Full ownership (you host the server)
- Use of modern VPN protocol (WireGuard)
- Native client config generation (including QR)
- Cost-effective: $0.01–$0.05 per hour depending on VPS provider