← Back to Self-Hosted Server Directory
WireGuard (wg-easy) logo
Privacy, Passwords & VPN • MIT / GPLv2 • Port :51821

WireGuard (wg-easy)

Official Docs ↗

Fast personal VPN server with 1-click QR codes for Windows, Mac & phones.

LinuxDocker
WireGuard (wg-easy) preview screenshot

Replaces

Commercial VPNs ($60–$120/yr)

Estimated Savings

$100/yr

Default Local Endpoint

http://localhost:51821

What It Does

wg-easy wraps the ultra-fast WireGuard VPN protocol in a clean web admin panel. Generate client configs and QR codes in 1 click to securely tunnel into your home network from coffee shops or hotels.

What It Can Do For You

  • ✓Browse safely on public hotel/airport Wi-Fi routed through your own home internet.
  • ✓Access your home PC, NAS, and Pi-hole ad-blocker from anywhere.
  • ✓Connect official WireGuard clients on Windows, macOS, Linux, iOS, and Android.

Step-by-Step Setup Guide (WireGuard (wg-easy))

Pick your OS below:
Easy / 1-Click Option (Windows): Easiest on Windows: install Docker Desktop (.exe) once from docker.com, then paste the 1-line command below in PowerShell.
  1. 1Install Docker Desktop for Windows (.exe) from docker.com (or run the winget command above) and open it.
  2. 2Open Windows PowerShell and paste: docker run -d --name wg-easy -e WG_HOST=your.domain.com -p 51820:51820/udp -p 51821:51821/tcp ghcr.io/wg-easy/wg-easy:latest
  3. 3Open http://localhost:51821 in Chrome/Edge to start using WireGuard (wg-easy).

Windows CLI Command:

winget install Docker.DockerDesktop
Secure Outside Access

Access WireGuard (wg-easy) Outside Your Network via Cloudflare Tunnel

Never open port 51821 on your router. Add this ingress rule to ~/.cloudflared/config.yml and enable Cloudflare Zero Trust Email OTP for login protection:

- hostname: wg-easy.yourdomain.com
  service: http://localhost:51821
Read full 5-step Cloudflare Tunnel setup →

More in Privacy, Passwords & VPN

Vaultwarden preview screenshot
GPLv3
Vaultwarden logo
Privacy, Passwords & VPN

Vaultwarden

LinuxDockerWindowsmacOS

Lightweight self-hosted Bitwarden server in Rust (uses <50MB RAM).

:8082 • $60/yrSetup Guide →
Pi-hole preview screenshot
EUPL-1.2
Pi-hole logo
Privacy, Passwords & VPN

Pi-hole

LinuxDocker

Network-wide DNS ad & tracker blocker for every device in your home.

:8081 • $30/yrSetup Guide →
AdGuard Home preview screenshot
GPLv3
AdGuard Home logo
Privacy, Passwords & VPN

AdGuard Home

WindowsLinuxmacOSDocker

Modern DNS ad-blocker with encrypted DNS-over-HTTPS & parental controls.

:3000 • $30+/yrSetup Guide →