IPTest
WebRTC Leak Test

WebRTC 泄露检测

浏览器的 WebRTC 会为建立点对点连接向 STUN 服务器请求地址映射,这一过程可能绕过 HTTP 代理,直接暴露你的真实 IP。

检测结果

正在向 27 台 STUN 服务器并发探测,请稍候…

STUN Server

检测结果

stun:stun.stun.chat.bilibili.com:3478

ChinaBilibili
检测中

stun:39.107.142.158:3478

ChinaBilibili
检测中

stun:stun.qq.com:3478

ChinaTencent
检测中

stun:stun.douyucdn.cn:3478

China斗鱼直播
检测中

stun:stun1.douyucdn.cn:3478

China斗鱼直播
检测中

stun:stun.hitv.com:3478

China芒果TV
检测中

stun:stun.miwifi.com:3478

China小米WiFi
检测中

stun:stun.l.google.com:19302

GlobalGoogle
检测中

stun:stun1.l.google.com:19302

GlobalYouTube
检测中

stun:stun2.l.google.com:19302

GlobalGoogle
检测中

stun:stun3.l.google.com:19302

GlobalGoogle
检测中

stun:stun4.l.google.com:19302

GlobalGoogle
检测中

stun:stun.fbsbx.com:3478

GlobalFacebook
检测中

stun:stun.kinesisvideo.us-east-1.amazonaws.com:443

GlobalAmazon
检测中

stun:stun.cloudflare.com:3478

GlobalCloudflare
检测中

stun:global.stun.twilio.com:3478

GlobalTwilio
检测中

stun:jp1.stun.twilio.com:3478

GlobalTwilio (JP)
检测中

stun:sg1.stun.twilio.com:3478

GlobalTwilio (SG)
检测中

stun:us1.stun.twilio.com:3478

GlobalTwilio (US)
检测中

stun:us2.stun.twilio.com:3478

GlobalTwilio (US)
检测中

stun:ipv4.am.i.mullvad.net:3478

GlobalMullvad IPv4
检测中

stun:ipv6.am.i.mullvad.net:3478

GlobalMullvad IPv6
检测中

stun:stun.nextcloud.com:3478

GlobalNextCloud
检测中

stun:stun.nextcloud.com:443

GlobalNextCloud
检测中

stun:stunserver.stunprotocol.org:3478

GlobalSTUNTMAN
检测中

stun:stun.voip.blackberry.com:3478

Globalblackberry
检测中

stun:stun.samsungsmartcamera.com:3478

GlobalSamsung
检测中

i什么是 WebRTC 泄露(WebRTC Leak),如何预防

WebRTC(Web Real-Time Communication)是浏览器提供的实时音视频与点对点数据通道技术。 WebRTC 泄露指的是在使用浏览器或某些应用时,WebRTC 的连接流程(ICE 候选交换)意外暴露了本地或真实公网 IP 地址,导致即便你在用 VPN/代理,目标网站或第三方仍可能看到你的真实 IP 或局域网地址,从而破坏隐私与匿名性。

WebRTC 泄露简要原理
建立 P2P 连接时,浏览器会通过 STUN/TURN 服务器获取 ICE 候选地址,主要包括:

  • host:本机局域网 IP
  • srflx:通过 STUN 获得的公网映射 IP
  • relay:通过 TURN 中继的地址

若浏览器或网页脚本暴露/发送了 host 或 srflx 类型的候选,第三方就可能获知本机真实 IP(含局域网 IP 与公网真实 IP)。VPN/代理通常只影响普通 HTTP(S) 流量,但 WebRTC 的 STUN 请求可能绕过这些路径,从而暴露真实地址。

Chrome 浏览器:建议安装扩展来避免 WebRTC 泄露,推荐 WebRTC Network Limiter(谷歌出品)或 WebRTC Leak Prevent,选择其一安装即可。

Firefox 浏览器:在 about:config 页面将 media.peerconnection.enabled 首选项设置为 false,可完全禁用 WebRTC(会禁用所有 WebRTC 相关功能)。