[GH-ISSUE #4066] Clarify required ports and Caddy port bindings in self-hosted NetBird docs #8456

Open
opened 2026-08-05 01:18:04 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @baltazartroisville on GitHub (Jun 28, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4066

Hello NetBird team and other readers,

First off, thank you for all the hard work on NetBird!

I’ve been setting up the self-hosted environment over the last couple of days and ran into a few confusing discrepancies in the documentation and generated compose files:

  1. Unlisted ports (33073, 10000, 33080)

    • The self-hosted docs say tcp ports 33073, 10000, and 33080 must be open.
    • In practice I only see 10000 referenced (and only internally in the Caddyfile).
    • None of the compose services actually map to 33073, 10000 or 33080.
      Question: Are those three ports truly required? If so, which containers/services use them and why?
  2. Coturn port mismatch

    • Coturn’s own docs list these required ports:
      • 3478 TCP & UDP
      • 5349 TCP & UDP
      • A configurable UDP range (for relayed media)
    • NetBird’s docs only mention 3478 UDP and the UDP range.
    • The default turnserver.conf in the repo maps 3478 for unencrypted and 5349 for encrypted—but doesn’t specify protocol.
      Question: Should coturn be listening on both TCP and UDP for 3478 and 5349? Please clarify which protocols are required.
  3. Caddy port 8080 mapping

    • The generated Docker Compose maps container port 8080 → host port 8080 for Caddy.
    • However, the supplied Caddyfile only binds :80 and :443 tcp/udp.
      Question: Is there a hidden listener on 8080 I’m missing, or is this line vestigial and safe to remove?

Thanks in advance for any clarification. Have a great weekend! ❤

Originally created by @baltazartroisville on GitHub (Jun 28, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4066 Hello NetBird team and other readers, First off, thank you for all the hard work on NetBird! I’ve been setting up the self-hosted environment over the last couple of days and ran into a few confusing discrepancies in the documentation and generated compose files: 1. **Unlisted ports (33073, 10000, 33080)** - The self-hosted docs say tcp ports 33073, 10000, and 33080 must be open. - In practice I only see 10000 referenced (and only internally in the Caddyfile). - None of the compose services actually map to 33073, 10000 or 33080. **Question:** Are those three ports truly required? If so, which containers/services use them and why? 2. **Coturn port mismatch** - Coturn’s own docs list these required ports: - 3478 TCP & UDP - 5349 TCP & UDP - A configurable UDP range (for relayed media) - NetBird’s docs only mention 3478 UDP and the UDP range. - The default `turnserver.conf` in the repo maps 3478 for unencrypted and 5349 for encrypted—but doesn’t specify protocol. **Question:** Should coturn be listening on both TCP and UDP for 3478 and 5349? Please clarify which protocols are required. 3. **Caddy port 8080 mapping** - The generated Docker Compose maps container port 8080 → host port 8080 for Caddy. - However, the supplied `Caddyfile` only binds `:80` and `:443` tcp/udp. **Question:** Is there a hidden listener on 8080 I’m missing, or is this line vestigial and safe to remove? Thanks in advance for any clarification. Have a great weekend! ❤
saavagebueno added the questionmissing-docsself-hosting labels 2026-08-05 01:18:04 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#8456