Skip to content

docs: Self hosting a STUN server #16537

Closed
Closed

Description

@bpmct

Problem Statement

By default, Coder's networking uses Google's public STUN server. However, some organizations do not wish to use it, but still want users to be able to establish direct connections to Coder.

Scope of Work

Activity

  1. added
    docs
    need-help
    on Feb 12, 2025
  2. ThomasK33 commented on Feb 12, 2025

    @ThomasK33
    Member

    Regarding the list of self-hostable STUN servers: Tailscale‘s derper has an embedded STUN, alternatively they also provide a standalone stun server called stund.

  3. spikecurtis commented on Feb 18, 2025

    @spikecurtis
    Collaborator

    Hosting STUN in Kubernetes is a can of worms. In order to work correctly, the STUN server cannot be behind an ingress proxy which is how many organizations set up Kubernetes.

    It is possible with the right networking, e.g. Calico peered with BGP to the corporate network, but it's nowhere near universal.

    In order to keep things simple, we should instruct people to run STUN on a VM with a routable IP address on the corporate network.

  4. nickvigilante commented on May 29, 2026

    @nickvigilante
    Collaborator

    This issue has been migrated to the Coder docs backlog in Linear as DOCS-310. Closing here to consolidate tracking.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsneed-help

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions