Find a file
2025-11-27 16:22:54 +00:00
machinekey added new configuration 2025-11-24 11:49:19 +00:00
scripts added scipt for restore and create backup 2025-11-24 18:23:00 +00:00
traefik-stack Update traefik.toml 2025-09-07 15:49:00 +02:00
.env added new configuration 2025-11-24 11:49:19 +00:00
.gitignore added git ignore 2025-11-27 16:20:47 +00:00
dashboard.env added new configuration 2025-11-24 11:49:19 +00:00
docker-compose.yml first commitđ 2025-11-23 18:38:45 +00:00
install-netbird-traefik.sh first commitđ 2025-11-23 18:38:45 +00:00
management.json added new configuration 2025-11-24 11:49:19 +00:00
Netbird-compose-backup.tar.gz first commitđ 2025-11-23 18:38:45 +00:00
readme.md first commitđ 2025-11-23 18:38:45 +00:00
reinit.sh first commitđ 2025-11-23 18:38:45 +00:00
reinit1.sh first commitđ 2025-11-23 18:38:45 +00:00
relay.env added new configuration 2025-11-24 11:49:19 +00:00
turnserver.conf added new configuration 2025-11-24 11:49:19 +00:00
uninstall-netbird-traefik.sh added new configuration 2025-11-24 11:49:19 +00:00
zdb.env added new configuration 2025-11-24 11:49:19 +00:00
zitadel.env added new configuration 2025-11-24 11:49:19 +00:00
zitadel_api.log added new configuration 2025-11-24 11:49:19 +00:00

🚀 Deploy Netbird & Zitadel with Traefik

This script helps you deploy Netbird behind a Traefik reverse proxy. It's designed for users who already have a working Traefik stack. The integration relies solely on Traefik labels—no need to modify your existing setup.


📦 Installation

git clone https://github.com/yblis/netbird-traefik.git
cd netbird-traefik

⚙️ Configurations

Before running the script, edit the following variables inside install-netbird-traefik.sh:

NETBIRD_DOMAIN="netbird.domain.com"       # Your Netbird domain
TRAEFIK_NETWORK="traefik_traefik"         # Docker network used by Traefik
TRAEFIK_CERTRESOLVER="webssl"             # Traefik certificate resolver (e.g., Let's Encrypt)

▶️ Deployment

chmod +x install-netbird-traefik.sh
./install-netbird-traefik.sh

🔓 Required Ports

Make sure the following ports are open on your firewall/router:

Protocol Port(s) Description
TCP 80, 443 Traefik (HTTP/HTTPS)
TCP 10000 Signal gRPC API
TCP 33073 Management gRPC API
TCP 33080 Relay service
UDP 3478 STUN/TURN (Coturn)
UDP 4915265535 STUN/TURN (Coturn - RTP)

🧠 Requirements

  • Existing Traefik stack (Docker + configured network)
  • Valid domain pointing to your server
  • Traefik certificate resolver (e.g., Let's Encrypt)