From b2080649ea50d942c3e9887813d867edbfc21052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Mon, 10 Apr 2023 13:05:56 +0200 Subject: [PATCH] add docs fixes #275. --- docs/getting-started/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md index 2f45bbee..5b0b3610 100644 --- a/docs/getting-started/README.md +++ b/docs/getting-started/README.md @@ -131,6 +131,17 @@ services: - UDP is generally better for latency. But some networks block UDP so it is good to have TCP available as fallback. - Still, using `NEKO_ICELITE=true` is recommended. +### Using turn servers instead of port forwarding + +- If you don't want to use port forwarding, you can use turn servers. +- But you need to have your own turn server (e.g. [cotrun](https://github.com/coturn/coturn)) or have access to one. +- They are generally not free, because they require a lot of bandwidth. +- Please make sure that you correctly escape your turn server credentials in the environment variable or use aphostrophes. + +```yaml +NEKO_ICESERVERS: '[{"urls": ["turn::443?transport=udp", "turn::443?transport=tcp", "turns::443?transport=udp", "turns::443?transport=tcp"], "credential": "