How to Install Firezone UI for WireGuard VPN on Debian 13
Firezone acts as a frontend to both the WireGuard kernel module and the netfilter kernel subsystem. It creates a WireGuard interface and a "firezone" netfilter table and adds appropriate routes to the routing table.
In this article, we are going to learn how to install Firezone UI for WireGuard VPN (version 1.x) on Debian 13 using Docker Compose. So, let's get started.
Pre-requisites
- A system with Debian 13 installed and running.
- root access to the system.
- Server with a minimum of 1 vCPU and 1 GB of RAM (2 GB recommended).
- A domain with DNS records pointing to your server's IP address.
- Ports 80 and 443 open.
Update the system
apt update && apt upgrade -y
Install dependencies
apt install -y apt-transport-https ca-certificates curl gnupg lsb-release git
Add Docker GPG key
curl -fsSL https://download.docker.com/linux/debian/gpg \
| gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
@@ Add Docker repository
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \
https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" \
> /etc/apt/sources.list.d/docker.list
Install Docker
apt update
apt install -y docker-ce docker-ce-cli containerd.io
systemctl enable --now docker
Install Docker Compose plugin
apt install -y docker-compose-plugin
docker compose version
Clone Firezone repository
git clone https://github.com/firezone/firezone.git
cd firezone/deploy/docker
Configure environment
cp .env.example .env
nano .env
Set:
EXTERNAL_URL=https://vpn.example.com
DEFAULT_ADMIN_EMAIL=admin@example.com
DEFAULT_ADMIN_PASSWORD=StrongPasswordHere
Start Firezone
docker compose pull
docker compose up -d
Run database migrations
docker compose exec web bin/migrate
Check Firezone version
docker compose exec web firezone version
Access Firezone
Open your browser and go to:
https://vpn.example.com
Login with your admin credentials from .env.
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS