Skip to content

How to Check If Your VPN Is Working

A security dashboard showing VPN connection status
A VPN check looks at the IP address, DNS, WebRTC, and IPv6 separately. Photo: Unsplash.

You can check if your VPN is working in about five minutes, with no technical knowledge. Note your public IP address with the VPN off, connect, and check again. If the address and location change to match your VPN server, and DNS, WebRTC, and IPv6 leak tests show no sign of your real address, your VPN is working. This guide walks through each check in order, explains what the results mean, and covers what to do when a check fails.

A VPN app showing Connected proves only that the app reports an established connection. It does not prove that every application is using the tunnel. A browser, an app, a DNS resolver, or an IPv6 connection can each take a different route. That is why a reliable check looks at several separate things, not just the app icon. If you have not set up a VPN yet, start with our guide to how to use a VPN.

A security dashboard showing VPN connection status
A VPN check looks at the IP address, DNS, WebRTC, and IPv6 separately. Photo: Unsplash.

The 5-Minute Check: Before and After

Do the checks in this order, because each one needs a baseline from before you connect.

  1. Disconnect the VPN. Open an IP-checking page, such as whatismyip.com, and write down your public IPv4 address, your public IPv6 address if one is shown, your approximate location, and the name of your internet provider.
  2. Connect the VPN. Wait until the app reports a stable connection, then pick a server in another city or country so the change is easy to spot.
  3. Check the public IP again. Refresh the IP-checking page, ideally in a new private window. The public IP should change to an address that belongs to the VPN, and the approximate location should match or sit near the server you picked.
  4. Run a DNS leak test. Look at the DNS servers listed. Your internet provider’s servers should not appear.
  5. Run a WebRTC leak test. Check whether your real public IP appears in the results.
  6. Check IPv6 separately. Confirm that your real IPv6 address does not remain visible while the VPN is connected.
  7. Check the kill switch. With the VPN connected, interrupt the connection and confirm that ordinary internet traffic stops.

If every check passes, your VPN is working. If any check fails, the sections below explain what the failure means and how to fix it.

Test 1: Check Your Public IP Address

Your public IP address can reveal your approximate location and your internet provider. A VPN replaces it with the VPN server’s IP address, so seeing your real IP while connected means something is wrong.

To check it, look up your public IP address with the VPN off and write it down, connect to your chosen VPN server, then look it up again. If the checking tool still shows your original IP address, your VPN may have an IP leak. If the address changed but the location does not match your server, you may be connected to a virtual server, which gives you an IP address for one country from a server that stands in another. That is not necessarily a leak, but it is worth knowing about if location matters to you.

An IP leak can come from your VPN configuration, from split tunneling that sends some traffic outside the tunnel, from browser or network settings, or from another app such as a proxy. If you use a browser extension VPN rather than a full-device app, remember that the extension protects only browser traffic. Other apps on your device are not covered.

Test 2: Check for DNS Leaks

DNS is the system that turns website names into IP addresses. Every time you visit a site, your device asks a DNS server for the address. If those requests go to your internet provider’s DNS servers instead of your VPN’s servers, your provider can see which sites you visit, even though your traffic itself is encrypted. That is a DNS leak.

To run the test, use a DNS leak test site such as dnsleaktest.com or browserleaks.com. First run it with the VPN off and note the DNS servers listed, which will usually belong to your provider. Then connect the VPN and run it again. The servers listed should change to ones owned by your VPN provider or a third-party resolver it uses. If your provider’s servers still appear, you have a DNS leak.

A DNS test can legitimately show VPN-owned or third-party resolvers. The problem is an unexpected appearance by your own provider, your employer, or your school network. If you see a leak, switch to a different VPN server, turn on your VPN’s DNS leak protection if it has the setting, and restart the app. Our guide to VPN leak tests and DNS and IP leaks explains the full picture.

Network cables in a server room
DNS requests should travel through the VPN tunnel, not straight to your provider. Photo: Unsplash.

Test 3: Check for WebRTC Leaks

WebRTC is a browser feature that allows real-time communication for video calls and some gaming services. It can reveal your real IP address to a website even when your VPN is connected, because the browser can share local network information directly.

To check it, visit a WebRTC leak test page, such as the WebRTC test on browserleaks.com, with your VPN connected. If the results show your real public IP address, you have a WebRTC leak. A clean result shows no address at all, or only the VPN server’s address.

If you find a leak, check whether your VPN has a browser extension that blocks WebRTC, or turn off WebRTC in your browser settings. Some browsers allow this through an extension or a settings flag, and some VPN apps include a WebRTC blocking option. Switching browsers can also help, because WebRTC behaviour differs between browsers.

Test 4: Check for IPv6 Leaks

IPv6 is the newer version of the internet protocol, and many networks now use it alongside the older IPv4. An IPv6 leak happens when your device uses IPv6 to connect while your VPN protects only IPv4, so websites can see your real IPv6 address and location.

Use a comprehensive leak test tool that checks both IPv4 and IPv6, such as the IP test on browserleaks.com. With the VPN connected, check that your original IPv6 address does not remain visible. If it does, your VPN is not covering IPv6 traffic.

The simplest fix is to disable IPv6 on your device or in your VPN app, if the app offers that option. Many VPN providers now handle IPv6 properly, so a persistent IPv6 leak can also be a sign that your provider’s IPv6 support is weak, and it is worth raising with their support team.

Test 5: Check Your VPN Speed

A speed check does not prove that your VPN is private, but a large and sudden drop can reveal a problem with the server you picked. Run a speed test with the VPN off, then run it again with the VPN on, using the same test site and the same server location in the test.

Expect some slowdown. Encryption and the extra distance to the VPN server both cost speed, and a drop of 10 to 30 percent on a nearby server is normal. A drop of more than half suggests a congested or distant server, so try a server closer to you. If every server is slow, try a different protocol, usually WireGuard or its variants, and check whether another app on your device is using your connection.

A laptop running a VPN speed test
A speed test shows whether the server you picked is congested or too far away. Photo: Unsplash.

Test 6: Check the Kill Switch

A kill switch is verified only by interrupting the VPN tunnel and confirming that ordinary internet traffic stops. The app saying the kill switch is on does not prove it works.

To check it safely, connect the VPN, open a website, then disconnect the VPN abruptly, for example by switching to a different server or turning off your Wi-Fi for a moment. If the kill switch works, your internet should stop entirely until the VPN reconnects, and no page should load in the meantime. If pages keep loading with the VPN down, your kill switch is not working, or it is switched off in settings.

Note that kill switch behaviour depends on your operating system and on split tunneling. Apps you excluded from the VPN through split tunneling will keep working, which is expected. Check the kill switch on the device you actually use, because the same provider can behave differently on Windows, Mac, Android, and iPhone.

What a Passing Check Does Not Prove

Passing all of these checks is a good result, but it does not prove everything. A clean leak test does not prove that your VPN provider keeps no logs, makes you anonymous, hides your GPS location, defeats cookies, or protects every device and application. Your GPS location comes from your device, not your IP address, so a VPN will not change where a maps app thinks you are. Cookies and account logins can still identify you to websites. And a browser extension VPN protects only the browser, not the rest of your device.

A leak test also only shows the position at the moment you ran it. A VPN that passes today can leak tomorrow if an app updates, a setting changes, or you connect to a new network. Run the quick IP and DNS checks once a month, and again after any app update or when you join a new network.

Code on a screen during a security check
A passing leak test is a snapshot, not a permanent guarantee. Photo: Unsplash.

What to Do If a Check Fails

Start with the simplest fixes, in this order.

  1. Switch servers. A single server can be misconfigured or blocked. Try another server in the same country, then a server in a different country.
  2. Restart the app and your device. A stale connection or a stuck process can cause leaks that a restart clears.
  3. Turn on leak protection. Check your VPN settings for DNS leak protection, IPv6 blocking, and the kill switch, and make sure they are all on.
  4. Change the protocol. If one protocol leaks, another may not. Try OpenVPN if you were on WireGuard, or the other way round.
  5. Check split tunneling. Make sure the app or browser that leaked is not excluded from the VPN.
  6. Update the app. Outdated apps can have bugs that newer versions fixed.
  7. Contact support. If the leak continues on several servers and protocols, ask your provider’s support team. A good provider will treat a leak report seriously.

If the leak continues after all of that, consider changing providers. A VPN that leaks your real IP address is not doing its core job. If the VPN will not connect at all, rather than leaking, our guide to VPN not working covers the fixes for connection failures, which are a different problem from leaks.

Checking on iPhone, Android, Mac, and PC

The checks are the same on every platform, but the details differ.

On iPhone and Android, run the IP and leak tests in your mobile browser, not inside the VPN app. Check that the VPN icon is visible in the status bar, and check the system VPN settings to confirm the configuration is active. On Android, the Always-on VPN and Block connections without VPN settings add system-level protection.

On Mac and PC, run the tests in a private browser window so that cached pages and cookies do not confuse the results. Check the app’s status screen for the server, the protocol, and your new IP address. On Windows, you can also check the network adapter list to confirm that the VPN adapter is active.

On a smart TV or router, run the checks from a device connected to the same network, because the TV itself cannot easily run a leak test. If the TV’s IP address matches the VPN server, the router VPN is working.

A laptop on a desk used to verify a VPN connection
The same checks work on every device, though the settings menus differ. Photo: Unsplash.
A laptop dashboard used to verify a VPN connection
Run the checks in a private browser window so cached pages do not confuse the result. Photo: Unsplash.

Frequently Asked Questions

How do I know if my VPN is working?

Note your public IP address with the VPN off, connect, and check again. The address and location should change to match your VPN server. Then run DNS, WebRTC, and IPv6 leak tests to confirm nothing is slipping past the tunnel. A changed IP alone is not enough.

What is a DNS leak?

A DNS leak happens when your device sends DNS requests to your internet provider’s servers instead of your VPN’s servers, so your provider can see which websites you visit. Run a DNS leak test with the VPN on. If your provider’s servers appear, you have a leak.

What is a WebRTC leak?

A WebRTC leak happens when your browser reveals your real IP address through WebRTC, a feature used for video calls. Run a WebRTC leak test with the VPN connected. A clean result shows no real address, or only the VPN server’s address.

Why does my VPN say connected but my IP has not changed?

The app may have established a connection while some traffic still bypasses it. Check split tunneling settings, check whether you are using a browser extension rather than a full-device app, and run the leak tests to find which path is exposed. Restarting the app and switching servers fixes most cases.

How often should I check my VPN?

Run the quick IP and DNS checks once a month, and again after an app update, after joining a new network, or after changing any VPN setting. A full check, including WebRTC, IPv6, and the kill switch, is worth doing when you first install the VPN and whenever a quick check fails.

Can a VPN leak my location?

Yes, in several ways. An IP, DNS, WebRTC, or IPv6 leak can reveal your real location. Your GPS can also reveal it, because a VPN does not change GPS data. And a website can remember your location from cookies set on an earlier visit, so clear cookies or use a private window when you check.

Is my VPN working if streaming still shows my home country?

Not necessarily. A streaming service can remember your location from cookies, or it may be using your account’s home country rather than your IP address. Clear cookies and cache, try a private window, and try a different server. If the service still shows your home country while the IP check shows the VPN server, the issue is with the service, not the tunnel.

What should I do if my VPN keeps leaking?

Switch servers, turn on leak protection and the kill switch, change protocols, check split tunneling, and update the app. If the leak continues on several servers and protocols, contact your provider’s support team. If they cannot fix it, consider a different provider, because a leaking VPN is not doing its core job.

Sources

11

Every factual claim on this page was verified against a named source above. Leak-test tools change over time, so use the tools linked here or a tool from a source you trust, and run the checks again after any app update.

Daniel Mercer

Written by

Daniel Mercer VPN Editor

Daniel's byline covers VPN reviews and provider comparisons. Each article is built from the provider's own documentation, pricing pages, independent audit reports and published privacy policies, with every source linked. Where a claim could not be confirmed from a primary source, the article says so instead of guessing.

How our articles are researched, reviewed and updated