WG Easy – open source, self hosted Wireguard server setup tool

Video is created by Awesome Open Source

You have found the easiest way to install & manage WireGuard on any Linux host!

WG Easy

Features

  • All-in-one: WireGuard + Web UI.
  • Easy installation, simple to use.
  • List, create, edit, delete, enable & disable clients.
  • Show a client’s QR code.
  • Download a client’s configuration file.
  • Statistics for which clients are connected.
  • Tx/Rx charts for each connected client.
  • Gravatar support.
  • Automatic Light / Dark Mode

Requirements To Install WG Easy

  • A host with a kernel that supports WireGuard (all modern kernels).
  • A host with Docker installed.

How To Install WG Easy

1. Install Docker

If you haven’t installed Docker yet, install it by running: $ curl -sSL https://get.docker.com | sh $ sudo usermod -aG docker $(whoami) $ exit

And log in again.

2. Docker-Compose File

To automatically install & run WG Easy, simply run:

$ docker run -d \
  --name=wg-easy \
  -e LANG=de \
  -e WG_HOST=🚨YOUR_SERVER_IP \
  -e PASSWORD=🚨YOUR_ADMIN_PASSWORD \
  -v ~/.wg-easy:/etc/wireguard \
  -p 51820:51820/udp \
  -p 51821:51821/tcp \
  --cap-add=NET_ADMIN \
  --cap-add=SYS_MODULE \
  --sysctl="net.ipv4.conf.all.src_valid_mark=1" \
  --sysctl="net.ipv4.ip_forward=1" \
  --restart unless-stopped \
  ghcr.io/wg-easy/wg-easy

💡 Replace YOUR_SERVER_IP with your WAN IP, or a Dynamic DNS hostname.

💡 Replace YOUR_ADMIN_PASSWORD with a password to log in on the Web UI.

The Web UI will now be available on http://0.0.0.0:51821.

💡 Your configuration files will be saved in ~/.wg-easy

You can find more information about WG Easy on there GitHub page.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.