Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

YoP VPN is a Drupal module that allows users to set up and manage their own secure WireGuard VPN server directly from their Drupal site. It provides a simple, automated way to deploy a self-hosted VPN without relying on third-party services, generating client configurations and integrating with VPS providers. This module is suitable for both technical and non-technical users looking to enhance their online privacy and security.

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
6 months ago
Releases (12 mo)
1 ▼ from 4
Maintenance
Slowing

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