> For the complete documentation index, see [llms.txt](https://docs.vdo.ninja/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vdo.ninja/advanced-settings/turn-and-stun-parameters.md).

# TURN & STUN Parameters

<table><thead><tr><th width="189.1845330133903">Parameter</th><th width="446.4285714285714">Explanation</th></tr></thead><tbody><tr><td><a href="/pages/-MZdw-SKd9FDWQZ3rJ1Y"><code>&#x26;turn</code></a></td><td>Lets you specify a custom TURN server or disable all TURN servers</td></tr><tr><td><a href="/pages/-Mj8_ekeRwA_iAdYpT_R"><code>&#x26;stun</code></a></td><td>Lets you specify a STUN server for webRTC negotiation</td></tr><tr><td><a href="/pages/Dx48IHWVwMy9j9iWtLSW"><code>&#x26;addstun</code></a></td><td>Appends an added stun server</td></tr><tr><td><a href="/pages/-MZNXzJXfSZ6MFroEd6f"><code>&#x26;icefilter</code></a></td><td>Filters ICE candidates</td></tr><tr><td><a href="/pages/2muWoLE6AH0aym7CxkPr"><code>&#x26;proxy</code></a></td><td>Forces your computer to try to connect to the handshake service via a different physical network end point and domain name</td></tr><tr><td><a href="/pages/-MZX-rFCzgmIUyBitkaa"><code>&#x26;relay</code></a></td><td>Forces TURN relay server into use</td></tr><tr><td><a href="/pages/-MZXPzK_9nOXoU57D5Ll"><code>&#x26;secure</code></a></td><td>Disconnects communication with the handshake server as soon as possible and provides verbose feedback</td></tr><tr><td><a href="/pages/-MZX7wye4XTC6Koit4UO"><code>&#x26;tcp</code></a></td><td>Forces TCP mode</td></tr><tr><td><a href="/pages/qqVxGzVAIWHOb8bZnL2A"><code>&#x26;tz</code></a></td><td>Specifies a negative timezone value in minutes for a TURN server</td></tr></tbody></table>

### Adaptive Connection Controls

Related connection-recovery controls:

* [`&autorelay`](/advanced-settings/turn-and-stun-parameters/and-autorelay.md)
* [`&pendingicettl`](/advanced-settings/turn-and-stun-parameters/and-pendingicettl.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vdo.ninja/advanced-settings/turn-and-stun-parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
