AnonymFlow
securite-reseauINFO

VPN Security Test: The Four Checks, and the One Nobody Runs (2026)

Testing a VPN means four different things: IP leak, DNS leak, WebRTC leak and kill switch. How to run each one, why the kill switch is the check almost nobody performs, and the one claim you cannot test from your own machine.

By Eric Gerard · Editor · AnonymFlow4 min readPhoto via Pexels

"Is my VPN working?" is a question with four different answers, and most guides on the subject test one of them and call it a day. Your public address can be perfectly hidden while your provider still receives the list of every site you visit.

Here are the four checks, in the order that matters, and the honest statement of what none of them can reach.

Check 1: is your public IP actually the VPN's?

The easiest one, which is why it is the one everybody runs.

Note your address before connecting, then connect and look again. If it is unchanged, nothing else in this article matters yet.

This check is necessary and weak: it tests the single thing every VPN gets right. Passing it tells you the tunnel exists, nothing more.

Check 2: DNS, the leak that hides in plain sight

Every site you visit starts with a name to resolve. That request can travel outside the tunnel even when your traffic goes through it, typically to your internet provider's resolver, configured by your router long before the VPN existed.

The result is the worst of both worlds: websites see the VPN's address, and your provider keeps a complete list of the domains you visit. You are paying for privacy and handing over the index.

Run our diagnostic tools with the tunnel up, and check that the resolver reported belongs to the VPN and not to your ISP. On the command line:

# The resolvers your system will actually use
resolvectl status | grep -A2 "DNS Servers"     # systemd based Linux
scutil --dns | grep nameserver                  # macOS

Check 3: WebRTC, the browser going around the tunnel

WebRTC is the browser technology behind video calls in a tab. To connect two people directly, it needs to know their real addresses, and it can obtain them through a mechanism that does not care that you installed a VPN.

The tunnel is up, the browser leaks anyway. It is not a flaw in your VPN, it is a different layer entirely, which is exactly why an IP check does not catch it.

Test it on our WebRTC leak test with the tunnel connected. If your real address appears there, disable WebRTC in your browser or use an extension that blocks it, then retest.

A dense fibre optic patch panel with rows of teal connectors and pale cable ends, blue-green cables curving away from it in the foreground.
A dense fibre optic patch panel with rows of teal connectors and pale cable ends, blue-green cables curving away from it in the foreground.

Check 4: the kill switch, which almost nobody tests

A kill switch is a promise that when the tunnel drops, traffic stops instead of silently continuing over your normal connection. It is the feature that protects you at the exact moment you are not watching.

Nearly nobody verifies it, because doing so requires deliberately breaking something. Here is the test:

# Terminal 1: a continuous ping, and watch this window
ping 1.1.1.1

# Terminal 2: drop the tunnel while terminal 1 keeps running
sudo ip link set tun0 down      # Linux, name may differ: check with "ip link"
# or simply kill the VPN application

Watch terminal 1 at the moment the tunnel dies. Replies must stop. If they keep arriving, your traffic is leaving outside the tunnel and the kill switch is not doing its job.

Repeat the test after every application update. A kill switch that worked last month is not evidence about today, because updates reset settings more often than anyone admits.

Editorial pick
4.6 / 5

See NordVPN's current offer

Whichever provider you pick, run the four checks above during the refund window rather than after it. A provider that passes them on your own connection is worth more than one that ranks first in a list you did not verify.

Deloitte audit 202430-day guarantee14M+ users
See the offer

What you cannot test, and no article should pretend otherwise

The no-logs claim. It describes what happens on machines you will never touch. No test run from your laptop can reach it, and any page offering you a "no-logs test" is selling you something.

What genuinely counts as evidence:

  • An independent audit of the infrastructure, published, with its scope stated. An audit covering only the browser extension says nothing about the servers.
  • A court record where data was demanded and none existed. This is the strongest evidence there is, precisely because it was not chosen by the provider.
  • The architecture, when servers run without persistent storage so there is no disk on which to keep anything.

Everything else is a marketing sentence, including on providers we recommend. The four checks above are yours to run; this one is not, and saying so is more useful than pretending.

The short version

An IP check tests the easiest thing. DNS is where privacy usually fails, WebRTC bypasses the tunnel from a different layer, and the kill switch is the one you have not tested and the one that will matter. Run the four during the refund window, and retest after every update.

For the legal picture around all of this, see are VPNs legal, and for what an advertised server location really means, see VPN server locations.

Editorial pick
4.6 / 5

Secure your connection with NordVPN

Threat Protection blocks trackers & malware · kill switch · 30-day money-back

Deloitte audit 202430-day guarantee14M+ users
See the offer
Everything you need to know.

Frequently asked questions

What does a VPN security test actually check?

Four separate things that people usually merge into one. Whether your public IP is the VPN's or yours. Whether your DNS requests go to the VPN's resolver or leak to your provider's. Whether your browser reveals your real address through WebRTC despite the tunnel. And whether traffic stops when the tunnel drops, which is the kill switch. Passing one of these says nothing about the other three.

What is a DNS leak and why does it matter if my IP is hidden?

Your IP can be the VPN's while the name resolution still goes to your internet provider's resolver. In that case websites see the VPN, and your provider still sees the list of every domain you visit. The tunnel is up, the log of your browsing is not protected. It is the most common failure and the least visible one.

How do I test a VPN kill switch?

Start a continuous ping to a public address, then kill the VPN process or disable its network interface while watching the output. If the replies keep arriving after the tunnel drops, traffic is escaping outside the tunnel and the kill switch is not doing its job. Most people never run this test, and it is the one that matters when a connection fails on its own at three in the morning.

Can I test whether a VPN really keeps no logs?

No, and any article claiming otherwise is misleading you. A no-logs policy is a statement about what happens on the provider's servers, which you cannot observe from your machine. The only evidence available is an independent audit, a published court record where data was requested and none existed, or the provider's technical architecture. Tests on your own connection cannot reach it.

How often should I run these tests?

After every meaningful change: a new provider, an app update, an operating system update, a change of server or protocol. Software updates silently reset settings more often than people expect, and a kill switch that worked last month is not evidence about today.