Is My VPN Working? How to Test Your VPN Connection
Key Takeaways
- A working VPN changes your visible IP address to one belonging to the VPN server.
- IP leaks, DNS leaks, and WebRTC leaks can expose your real identity even when connected.
- Testing takes under two minutes using free tools available in your browser.
Connecting to a VPN doesn’t always mean your traffic is fully protected. IP leaks, DNS misconfigurations, and WebRTC vulnerabilities can expose your real location and identity even when the VPN shows as connected. Here’s exactly how to confirm your VPN is working correctly in 2026.
Step 1: Check Your IP Address
The simplest test is to verify that your visible IP address has changed after connecting to your VPN.
- Disconnect your VPN and visit whatismyipaddress.com or ipleak.net. Note your real IP address.
- Connect your VPN and reload the same page.
- The IP address should now show a different location — the city or country of your VPN server.
If the same IP address appears before and after connecting, your VPN is not routing traffic correctly.
Step 2: Test for DNS Leaks
A DNS leak occurs when your device sends DNS queries outside the VPN tunnel — revealing your real ISP and location to DNS servers even though your IP appears to have changed.
Visit dnsleaktest.com while connected to your VPN. Run the standard test. Results should show DNS servers belonging to your VPN provider or a neutral third party — not your ISP. If your ISP’s DNS servers appear in the results, you have a DNS leak.
How to Fix DNS Leaks
- Enable the DNS leak protection setting inside your VPN app (most premium VPNs include this).
- Manually set your DNS to 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google) in your network settings.
- On Windows, disable “Smart Multi-Homed Name Resolution” in Group Policy settings.
Step 3: Check for WebRTC Leaks
WebRTC is a browser technology used for video calls and real-time communication. It can bypass VPN tunnels and expose your actual IP address directly to websites — even when your VPN appears active.
Visit browserleaks.com/webrtc while connected to your VPN. If your real IP address appears under “Local IP Address” or “Public IP Address,” you have a WebRTC leak.
How to Fix WebRTC Leaks
- In Firefox: go to
about:configand setmedia.peerconnection.enabledto false. - In Chrome: install the WebRTC Leak Prevent or uBlock Origin extension and enable WebRTC blocking.
- Many premium VPNs (NordVPN, ExpressVPN) handle WebRTC leaks automatically in their apps.
Step 4: Verify Your VPN Location
After confirming your IP has changed, verify the VPN is connecting to the correct server. Your new IP should show a city or country matching the server you selected in your VPN app. A mismatch suggests a routing error or server misconfiguration.
Step 5: Run a Kill Switch Test
A kill switch blocks your internet connection if the VPN drops unexpectedly, preventing accidental IP exposure. To test it:
- Connect to your VPN with kill switch enabled.
- Open a live IP check site in your browser.
- Disconnect your VPN abruptly (disable the network adapter or force-close the VPN app).
- Check if your internet connection drops immediately. If it does, your kill switch works.
If you can still browse after disconnecting the VPN, your kill switch isn’t functioning correctly.
Common Reasons Your VPN Isn’t Working
- Wrong protocol selected — try switching from OpenVPN to WireGuard or vice versa.
- VPN server is down — select a different server in the same region.
- Firewall blocking the VPN — check your Windows/macOS firewall rules or antivirus settings.
- Outdated VPN app — update to the latest version of your VPN client.
- ISP-level VPN blocking — some ISPs throttle or block VPN protocols; use obfuscated servers if your VPN supports them.
Quick Reference: VPN Testing Tools
| Test Type | Tool |
|---|---|
| IP Address Check | whatismyipaddress.com, ipleak.net |
| DNS Leak Test | dnsleaktest.com |
| WebRTC Leak Test | browserleaks.com/webrtc |
| Full Leak Test | ipleak.net, perfect-privacy.com/check |
FAQ
How do I know if my VPN is actually encrypting my traffic?
Tools like Wireshark can capture and display network packets. With a working VPN, packets should appear as encrypted data rather than readable text. For most users, verifying the IP change and running a leak test is sufficient confirmation.
My IP changed but I still see my ISP in the DNS test — is that a leak?
Yes. This is a classic DNS leak. Your IP has changed but DNS queries are still travelling outside the VPN tunnel. Enable DNS leak protection in your VPN app settings.
Can a VPN be connected but not working?
Yes. A VPN can show as “connected” in the app while routing traffic incorrectly — particularly if a split tunnel is misconfigured or the VPN adapter has a fault. Always verify with an IP check tool.
Does a VPN slow down my internet?
A small speed reduction is normal — typically 10–30% depending on server distance and protocol. Heavy slowdowns suggest a server issue or congestion; switching servers usually resolves it.
What is the best free tool to check if my VPN is working?
ipleak.net is the most comprehensive free option — it tests IP, DNS, and WebRTC leaks simultaneously in one page.
Does my VPN work on mobile?
Run the same tests on your smartphone browser. Mobile VPNs can also suffer from WebRTC leaks, particularly in Chrome for Android. Use the same browserleaks.com/webrtc tool.
Final Thoughts
A VPN showing as connected doesn’t guarantee full protection. Running an IP check, DNS leak test, and WebRTC leak test together gives you a complete picture of whether your VPN is working as intended. Most premium VPN providers include built-in leak protection — but verifying independently takes less than two minutes and is always worth the effort.

