Quick answer

How do I know if my VPN is working?

Run a few quick, free tests. With the VPN connected, an IP check should show the VPN server, not you; a DNS leak test should not list your ISP's servers; and a WebRTC leak test should not show your real IP. Then drop your Wi-Fi briefly and watch what happens while the VPN reconnects.

The four tests and what passing looks like
TestWhat passing looks like
IP address checkYou see the VPN server's IP and location, not yours.
DNS leak testNo DNS servers from your own ISP.
WebRTC leak testYour real IP doesn't appear.
Connection-drop testIf your app has a kill switch, your real IP never shows while it reconnects.
Glowing green network verification screens and circuit board diagnostics on dark background representing VPN connection testing

Most people assume that if a VPN app shows a green connected indicator, the VPN is working. That's a fair start, but it isn't proof. A connected status means the VPN client has established a tunnel. It doesn't tell you whether your real IP address is showing through another channel, whether your DNS queries are going outside the tunnel, or whether your browser is exposing your real IP address through WebRTC.

Leaks like these do happen, and they're easy to miss. Checking takes a short sequence of free tests, a few minutes in total.

Here is exactly how to do it.

The Four Tests That Confirm a VPN Is Working

A properly functioning VPN should pass the following checks: an IP address test, a DNS leak test, a WebRTC leak test and, if your VPN app has a kill switch, a kill switch check. Each test catches a different category of failure. Passing one does not guarantee you pass the others.

Test 1: The IP Address Check

This is the most basic test and should be your starting point every time you connect to a VPN. It confirms that your device's publicly visible IP address has changed from your real ISP-assigned address to an address belonging to the VPN server.

How to run the IP address check

  • Step 1: Disconnect your VPN completely. Open a browser and visit our free IP check or whatismyip.com, or search "what is my IP" in Google. Write down the IP address shown — this is your real IP.
  • Step 2: Connect your VPN and select a server location.
  • Step 3: Refresh the same IP-check page without closing your browser.
  • Step 4: Compare the two IP addresses. If the IP address has changed and the location now shows the VPN server's country or city instead of your real location, this test passes.

If the IP address is identical before and after connecting, your VPN is not routing traffic correctly. The tunnel may have failed silently without the app detecting it. Try reconnecting, switching to another protocol in your VPN app's settings if it offers more than one, or selecting a different server.

What to watch for: Some ISPs use carrier-grade NAT, which means multiple customers share a single public IP. In those cases, comparing IPs may appear to show no change even when the VPN is working. The more reliable indicator is the location and ISP name — with the VPN connected, the ISP listed on the test page should be your VPN provider, not your actual internet provider.

Set up CyberFence, then test it.

Three simple screens and one tap to connect. Then run the IP check and DNS leak test above to see it working on your own device.

Watch the Getting Started film

Select play to load YouTube, then start the film in the player. YouTube processes data when loaded; its privacy policy applies.

Watch on YouTube (opens a new tab)

Read the video transcript

Setting up a new security app shouldn't feel like a project. With CyberFence, you're set up in three simple screens.

First, pick your language, so the screens that follow are in the language you choose. Next, tap Get Started. Or, if you already have an account, just sign in. Then tell CyberFence what matters most to you: business, privacy, public Wi-Fi or compliance. Or skip it for now.

On iPhone or iPad, one tap connects you. On your computer, just sign in with the same account.

Three simple screens. One tap to connect. Choose your plan today.

Test 2: The DNS Leak Test

A DNS leak is a common and easy-to-miss way a VPN can fail. Your DNS queries — the requests your device sends to translate domain names like "google.com" into IP addresses — should travel through the encrypted VPN tunnel to the VPN provider's DNS servers. If they don't, those queries go directly to your ISP's DNS servers instead, which can show your ISP the sites you look up even though you believe you are protected.

DNS leaks can occur even when your IP address test passes. The VPN may correctly mask your IP while simultaneously allowing DNS traffic to slip through via a misconfigured network adapter, IPv6 routing, or a browser's built-in DNS-over-HTTPS resolver that bypasses the VPN's DNS.

How to run the DNS leak test

  • Step 1: Disconnect your VPN. Visit our free DNS leak test or dnsleaktest.com (use its Standard Test). Note which DNS servers appear — these will usually belong to your ISP.
  • Step 2: Connect your VPN and run the Standard Test again on the same site.
  • Step 3: Compare the results. If your VPN is working correctly, the DNS servers listed after connecting should be different from your ISP's servers. They should be operated by your VPN provider or an unrelated third party — not the same provider as before.

If the DNS servers remain identical before and after connecting to the VPN, you have a DNS leak. Your VPN is encrypting your traffic but not your DNS queries, which means your ISP can still see the sites you look up.

DNS leaks are fixable. Many VPN apps have a DNS leak protection setting that sends DNS queries through the tunnel; if yours does, turn it on, reconnect and run the test again. If it doesn't, check your device's network settings and your browser's secure DNS setting, then retest.

Test 3: The WebRTC Leak Test

WebRTC (Web Real-Time Communication) is a browser technology that enables audio calls, video conferencing, and peer-to-peer file transfers directly in the browser. It is built into Chrome, Firefox, Edge, and Opera. To establish direct connections between devices, WebRTC needs to know each device's real IP address — and in some browsers and setups it can expose that address even when a VPN is active.

This means your real IP address can be exposed to a website that uses WebRTC, even while your VPN is connected. It is invisible in standard IP tests because those tests only check your primary connection IP, not what WebRTC is broadcasting separately.

How to run the WebRTC leak test

  • Step 1: Connect your VPN.
  • Step 2: Open your browser and visit our free WebRTC leak test, browserleaks.com/webrtc or ipleak.net.
  • Step 3: Look at the IP addresses listed under the WebRTC section. If your real IP address — the one you recorded during the IP address test — appears here, your browser is leaking it through WebRTC despite the VPN being active.

If you detect a WebRTC leak, you have two options:

  • Check your VPN app and browser settings. Some VPN apps and browser extensions have a WebRTC setting that stops the browser exposing your real IP address. If yours does, turn it on and retest.
  • Disable or limit WebRTC in your browser. In Firefox, type about:config in the address bar, search for media.peerconnection.enabled, and set it to false; this turns WebRTC off, so browser-based video calls stop working. In Chrome, Google's WebRTC Network Limiter extension limits which network paths WebRTC can use. Retest afterward.

WebRTC leaks are easy to miss, so testing for them specifically — not just running an IP check — is worth making part of your routine when you first set up a VPN or install a new browser.

Test 4: Kill Switch Verification

A VPN kill switch, where your VPN app offers one, is designed to block internet traffic if the VPN tunnel drops unexpectedly, so data doesn't go out over your unprotected connection while the VPN reconnects. Having it turned on in settings doesn't prove it works, so test it. If your VPN app doesn't have one, the same test shows you what happens when the connection drops.

How to test your kill switch

  • Step 1: Connect your VPN and verify it is active.
  • Step 2: Open a browser tab with an IP-checking site set to auto-refresh every few seconds, or keep it open and ready to refresh manually.
  • Step 3: Temporarily disconnect your WiFi or disable your network adapter — do not close the VPN app.
  • Step 4: Wait two to three seconds, then reconnect your WiFi.
  • Step 5: Watch the IP-check page. During the brief period between disconnecting and reconnecting, the page should show no internet access (a connection timeout error). If it loads and shows your real IP address at any point during that window, the kill switch failed.

A functioning kill switch means the page is unreachable during the network interruption. Once your VPN reconnects, the IP check should resume showing the VPN's IP — not your real one.

For more detail on how kill switches work and why they matter, see our full guide on what a VPN kill switch does and when you need one.

What to Do If Your VPN Fails a Test

Failing any of the four tests indicates a specific problem with a specific solution. Here is a quick-reference guide:

  • IP address unchanged after connecting: The VPN tunnel did not establish. Disconnect, reconnect, try a different server or protocol, or reinstall the app.
  • DNS servers remain your ISP's after connecting: Turn on DNS leak protection in your VPN app's settings, if it has that setting. If it's already on, switch to a server in a different location and retest.
  • Real IP visible in WebRTC test: Check your VPN app and browser for a WebRTC setting, or disable or limit WebRTC in your browser.
  • Real IP visible during kill switch test: Check that the kill switch is turned on in your VPN app, if it has one. If it is on and the test still fails, contact your VPN provider. If your app doesn't have one, wait until the VPN shows connected again before you use sensitive accounts after a drop.

One important note: these tests should be performed in your standard browser with all extensions enabled. Browser extensions — particularly ad blockers and privacy tools — can sometimes interfere with VPN routing and introduce their own leaks. If you see unexpected results, run the tests again in an incognito window with extensions disabled to isolate whether the VPN or an extension is responsible.

How Often Should You Test Your VPN?

You do not need to run all four tests every time you connect. A reasonable cadence for most users:

  • When you first set up a VPN: Run all four tests to establish a baseline. Know what passing looks like on your specific device and browser combination.
  • When you install a VPN update: Software updates occasionally change routing behavior or DNS settings. Run a quick IP and DNS test after every major app update.
  • When you connect on a new network: Hotel WiFi, airport networks, and co-working spaces can interfere with VPN protocols in ways your home network does not. Run the IP and DNS tests when connecting to unfamiliar networks.
  • When something seems off: Unusual speeds, connection drops, or unexpected content access restrictions are signs to retest. Understanding your VPN's effect on your internet speed can help you spot anomalies early.

Running the IP check and DNS leak test together takes a couple of minutes and tells you whether the basics are working. Add the WebRTC test if you use browser-based video tools. Add the connection-drop test every few months or whenever you update your VPN app.

A Note on Mobile VPN Testing

Testing a VPN on a smartphone follows the same logic but with one added complication: mobile devices switch between WiFi and cellular data frequently, and each switch creates a brief window where the VPN tunnel must reestablish. If your VPN app has a kill switch, this is where it matters.

To test a VPN on mobile, run the same IP and DNS tests using your phone's browser. Then test the kill switch by toggling airplane mode on for three seconds and then back off while watching the IP check page. A properly functioning mobile VPN should show no IP during airplane mode and return to the VPN IP — not your cellular IP — once connectivity is restored.

If you use your VPN mainly on Android, our guide to choosing a VPN for Android in 2026 covers what to look for.

The Bottom Line

A connected VPN indicator is not proof that your VPN is working. Real verification requires four checks: confirm your IP address has changed, confirm your DNS queries are going through the VPN's servers instead of your ISP's, confirm WebRTC is not broadcasting your real IP in your browser, and, if your VPN app has a kill switch, confirm it blocks traffic when the tunnel drops.

All four tests take a few minutes and need nothing more than a browser and a few free online tools, including our IP check and DNS leak test. Running them when you set up your VPN, and again after any major software update or network change, is how you know the privacy you think you have is the privacy you actually have.

Frequently Asked Questions

How do I know if my VPN is actually working?

Connect it, then check your IP address on a free IP check, run a DNS leak test and a WebRTC leak test. Your real IP and your ISP's DNS servers shouldn't appear.

What is a DNS leak, and how do I check for one?

A DNS leak is when your device sends DNS lookups outside the VPN tunnel, often to your ISP. Run a DNS leak test with the VPN connected; if you see your ISP's servers, you have a leak.

What is a WebRTC leak?

WebRTC is a browser feature for calls and video. In some setups it can expose your real IP address even with a VPN connected. A WebRTC leak test shows whether it does.

How do I test a VPN kill switch?

If your VPN app has one, turn it on, connect, open an IP check page and briefly turn off Wi-Fi. While the VPN reconnects, the page should fail to load rather than show your real IP.

How often should I test my VPN?

When you set it up, after VPN app, system or browser updates, and when you join an unfamiliar network such as hotel or airport Wi-Fi.

Read Next

Want to go deeper? Read our free privacy and security tools , the CyberFence DNS leak test , or the CyberFence WebRTC leak checker .