# WebRTC 泄漏的工作原理

1. 网站从浏览器或反检测浏览器发送常规 TCP 请求。
2. 反欺诈系统响应并注入 STUN 请求的脚本。
3. 浏览器通过 UDP 发出 STUN 请求，绕过真实地址的代理，因为代理或反检测浏览器可能不支持 UDP。
4. 如果TCP连接和UDP连接中的IP不同，则用户暴露为使用代理。<br>

   <figure><img src="/files/1kFjsvpx16JNbeWtAKtI" alt=""><figcaption><p>The image and information were taken and translated from the <a href="https://telegra.ph/Zachem-nuzhny-proksi-s-UDP-i-pri-chyom-tut-protechka-WrbRTC-v-Antike-12-19">ZloyTeam</a> article</p></figcaption></figure>


---

# Agent Instructions: 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.proxyshard.com/cn/chan-pin/about-udp/how-webrtc-leak-works.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.
