🎬

Video tutorial coming soon.

🔒 Setup WireGuard Easy — VPN with Web UI

Deploy WireGuard VPN on Ubuntu with a clean web interface for managing clients, generating QR codes, and monitoring connections — fully automated.

⚠️ This script is provided for demo and testing purposes only.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along.

Automated install script — WireGuard + web panel in one command.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/vpn/wireguard-easy/wireguard-easy-ubuntu.sh
chmod +x wireguard-easy-ubuntu.sh
sudo bash wireguard-easy-ubuntu.sh

Tutorial Steps

1 Download & Run the Script

The script installs Docker, prompts for your server's public IP or domain, generates a random admin password, and starts WireGuard Easy.

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/vpn/wireguard-easy/wireguard-easy-ubuntu.sh
chmod +x wireguard-easy-ubuntu.sh
sudo bash wireguard-easy-ubuntu.sh

2 Access the Admin Panel

Open your browser and navigate to the WireGuard Easy web panel:

http://YOUR-SERVER-IP:51821

3 Add VPN Clients

Click '+ New Client', enter a name for the client, and click Create. A QR code and downloadable config file will be generated automatically.

4 Connect Your Devices

Install the WireGuard app on your phone, laptop, or router. Scan the QR code or import the .conf file to establish your VPN connection.

Ports Used

PortProtocolPurpose
51821TCPWeb UI (Admin Panel)
51820UDPWireGuard VPN Tunnel

Files Location

/root/docker/wireguard-easy/docker-compose.yml