Drupal is a registered trademark of Dries Buytaert

yopvpn

No security coverage
View on drupal.org

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:

  1. Navigate to /admin/content, click on Add content -> VPN.
  2. Copy & paste the already created SSH public key to your VPS provider account (this is used to access your VPS).
  3. Create your VPS server with your provider.
  4. Enter your VPS IP address and start the deployment script.
  5. 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

Activity

Total releases
5
First release
Jun 2025
Latest release
2 months ago
Release cadence
47 days
Stability
80% stable

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Dec 30, 2025
1.0.2 Stable Jun 29, 2025
1.0.1 Stable Jun 28, 2025
1.0.0 Stable Jun 27, 2025
1.0.x-dev Dev Jun 27, 2025