Skip to content

Clarify required ports and Caddy port bindings in self-hosted NetBird docs #4066

Description

@baltazartroisville

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! ❤

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions