Video tutorial coming soon.
Deploy WireGuard VPN on Ubuntu with a clean web interface for managing clients, generating QR codes, and monitoring connections — fully automated.
Grab the automated bash script from GitHub to follow along.
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
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
Open your browser and navigate to the WireGuard Easy web panel:
http://YOUR-SERVER-IP:51821
Click '+ New Client', enter a name for the client, and click Create. A QR code and downloadable config file will be generated automatically.
Install the WireGuard app on your phone, laptop, or router. Scan the QR code or import the .conf file to establish your VPN connection.
| Port | Protocol | Purpose |
|---|---|---|
| 51821 | TCP | Web UI (Admin Panel) |
| 51820 | UDP | WireGuard VPN Tunnel |
/root/docker/wireguard-easy/docker-compose.yml