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": "