Turn off coturn completely #1739

Open
opened 2025-11-20 06:05:46 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @tropnikovvl on GitHub (Mar 19, 2025).

Since coturn requires access to the host network (network_mode: host), unlike relay, I am considering disabling it completely.

Actually, that's what I did, which is why I have a question: what difficulties and problems might I encounter?

So far, everything works fine (macOS and Linux clients).

    "Stuns": [],
    "TURNConfig": {
        "TimeBasedCredentials": false,
        "CredentialsTTL": "12h0m0s",
        "Secret": "secret",
        "Turns": []
    },
Originally created by @tropnikovvl on GitHub (Mar 19, 2025). Since `coturn` requires access to the host network (`network_mode: host`), unlike `relay`, I am considering disabling it completely. Actually, that's what I did, which is why I have a question: what difficulties and problems might I encounter? So far, everything works fine (macOS and Linux clients). ```json "Stuns": [], "TURNConfig": { "TimeBasedCredentials": false, "CredentialsTTL": "12h0m0s", "Secret": "secret", "Turns": [] }, ```
Author
Owner

@1nerdyguy commented on GitHub (Mar 20, 2025):

I believe android and ios clients still require turn, btu that could have changed.

@1nerdyguy commented on GitHub (Mar 20, 2025): I believe android and ios clients still require turn, btu that could have changed.
Author
Owner

@tropnikovvl commented on GitHub (Mar 22, 2025):

Ios client works without problems

@tropnikovvl commented on GitHub (Mar 22, 2025): Ios client works without problems
Author
Owner

@dzxx36gyy commented on GitHub (Mar 29, 2025):

In this case, I think the stun will also be turned off, and refer to how NetBird works.
I think the relay will also be unavailable. (if both two sides are under NAT3/4)
In fact, you can use coturn without host mode, just port map TCP/UDP 3478 + UDP 49152-65535.

@dzxx36gyy commented on GitHub (Mar 29, 2025): In this case, I think the stun will also be turned off, and refer to how NetBird works. I think the relay will also be unavailable. (if both two sides are under NAT3/4) In fact, you can use coturn without host mode, just port map TCP/UDP 3478 + UDP 49152-65535.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1739