WebRTC leaks in Safari: what to check
Safari has no WebRTC setting, and most of the time it doesn't need one: it hides your local addresses behind random .local names, and its WebRTC protections come with system updates.
The remaining risk is your public address: if your VPN doesn't cover all of your traffic, WebRTC can go around it. The test below shows whether that happens on your device.
Testing your browser…
How to do it in Safari
- Update macOS or iOS: Safari's WebRTC protections are updated with the system.
- Use a VPN app that covers the whole device rather than a proxy set up in a single app; in the VPN's settings, turn on the option that blocks traffic outside the VPN if it has one (often called a kill switch).
- With the VPN on, run the test above: the WebRTC address should be hidden or match the one our server sees.
- Need to cut WebRTC off completely on a Mac? Safari has no switch for it: use Firefox with the settings from our Firefox page for that browsing.
Why WebRTC can leak your IP address
WebRTC lets your browser connect directly to another device, for video calls and file transfers. To find a route, it asks a STUN server which public address you are seen from, and lists the addresses of your network interfaces. Any website can start this from a script, without asking you and without showing anything on screen.
Two things can come out. Your local address on your home or office network (192.168.x.x or similar), which most browsers now hide behind a random name ending in .local. And your public IP address: with a VPN that covers the whole device, WebRTC normally sees the VPN's address, but with a VPN browser extension, a proxy or split tunnelling, WebRTC can go around it and reveal the real address of your connection.
Switching WebRTC off completely breaks video calls in the browser (Google Meet, Teams or Discord on the web). Restricting it to the route your VPN or proxy uses stops the leak; calls usually keep working, sometimes with lower quality. If a call fails, choose the less strict option given in the steps.