Back to catalog
WireGuard logo

Self-Host with Docker · Yantr

WireGuard

Fast, modern VPN with state-of-the-art cryptography for secure remote network access.

About

WireGuard is a fast, modern, and secure VPN protocol that uses state-of-the-art cryptography. It provides a lightweight and efficient way to create secure point-to-point connections. This deployment includes the wg-easy web UI for easy management. WireGuard is significantly faster than OpenVPN and IPSec while using less code and offering better security. Use cases include remote access to your home network, connecting to self-hosted services while away, securing public WiFi connections, and site-to-site networking. The configuration is simple - just exchange public keys like SSH, and WireGuard handles the rest automatically.

How to Self-Host WireGuard

WireGuard can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what WireGuard does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.

If you searched for WireGuard Docker, WireGuard Docker Compose, or self-host WireGuard, this page is the direct landing page for that app in Yantr's catalog.

Use Cases

  • Access your home network remotely by connecting to your WireGuard VPN from anywhere in the world.
  • Securely access self-hosted services (like Home Assistant, Jellyfin, Nextcloud) while traveling without exposing them to the public internet.
  • Protect your browsing on public WiFi by routing all traffic through your encrypted home connection.
  • Create site-to-site VPNs to connect multiple locations (home office, parent's house) into one network.

Technical Details

Ports

Port Protocol Label
51821 HTTP Admin Panel
51820 UDP VPN Tunnel

Docker Image

ghcr.io/wg-easy/wg-easy:15

Service Name

wireguard

Notes

  • Requires UDP port 51820 open in your firewall for VPN connections
  • Admin panel runs on port 51821 (HTTPS recommended in production)
  • Each client needs a QR code or config file to connect

Related Apps

More App Pages

Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside WireGuard.

Page generated 2026-03-06T16:43:27.553Z