WebRTC leak test
WebRTC is a browser feature that can reveal your real IP even while a VPN is connected. This test runs in your browser and shows what it exposes.
Addresses exposed via WebRTC:
- testing…
How to use the webrtc leak test
- Open this page — the WebRTC test runs automatically.
- Read the list of exposed addresses.
- If a public IP appears while on a VPN, fix the leak with the steps below.
How to read this
Local addresses (like 192.168.x.x or an mDNS .local name) are harmless — that's your home network. A public address that matches your real IP means WebRTC is leaking around the tunnel.
How to fix a WebRTC leak
- Use a browser extension that disables or limits WebRTC.
- In Firefox, set
media.peerconnection.enabledtofalseinabout:config. - Use a VPN app with built-in leak protection.
Code & API examples
Use this from the command line or your code.
Browser only
// WebRTC runs in the browser; there is no server-side equivalent.
console.log(new RTCPeerConnection());
Check your public IP instead
curl ifconfig.me
See all endpoints at /api/tools/.
Frequently asked questions
WebRTC can gather your local and public IP addresses for peer-to-peer connections. A page can read them via JavaScript, revealing your real IP around a VPN.
Use a browser extension that disables WebRTC, set media.peerconnection.enabled to false in Firefox, or use a VPN app with built-in leak protection.
Related tools
Want to hide your IP for real?
vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.
Step up to the tee — free