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.

Ports

2

Deps

0

Use Cases

4

About

What WireGuard does

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 Ope...

Install Flow

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.

After deployment, Yantr also lets you publish additional ports later from the stack page using Docker-style syntax. Use mappings like 8080:8080 for a fixed host port or just 8080 to let Docker assign a random host port for container port 8080.

Use Cases

What people run it for

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, image, and service metadata

Ports

These are the standard container ports Yantr knows about for WireGuard. You can keep the default mapping, remap them, or publish extra ports later after deployment with Docker syntax such as 3000:3000 or 3000.

Port Protocol Label
51821 HTTP Admin Panel
51820 UDP VPN Tunnel

Docker Image

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

Service Name

wireguard

Notes

Things to know before you deploy

! 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 tools you might pair with WireGuard

More App Pages

Keep browsing the Yantr catalog

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

Page generated 2026-05-03T17:57:37.943Z