Networking

Am I Using a VPN? How to Check (IP, Routes and Leaks)

To find out whether you are using a VPN, compare your public IP address with the VPN off and with it on: if the address and location change to the VPN server's, you are using it. The app's "connected" light is not proof on its own, so the sections below add two more checks that a status light cannot fake, the routing table and a leak test.

Which check matters depends on what you want to know. If you just want to confirm that sites see a different address, the IP comparison is enough. If you rely on the VPN to hide your browsing from your internet provider, you also need the routing and leak checks.

Check 1: compare your public IP address

Your public IP address is the one websites see. A VPN replaces it with the address of the VPN server, because the server forwards your traffic and the reply comes back to it. The public vs private IP address article explains why your device's own address (such as 192.168.1.20) is a different thing and not what you compare here.

  1. Disconnect the VPN. Open a public IP lookup page, such as your VPN provider's own connection check, and write down the address, the city or country and the network name it reports. This is your baseline.
  2. Connect the VPN and wait until the app reports that it is connected.
  3. Reload the lookup page, ideally in a new private window so a cached result is not shown.
  4. Compare. Read the result with the table below.
What you see with the VPN onWhat it means
A different address, in the VPN's location, owned by a hosting or VPN companyYour web traffic is going through the VPN.
The same address and provider as your baselineYou are not using the VPN for this traffic, even if the app says connected. Split tunnelling or a failed connection are the usual reasons.
A different address, but the location is not the one you pickedThe tunnel works. Location databases are often wrong for individual addresses, so the city can be off.
Two addresses, one IPv4 and one IPv6, and only one has changedThe VPN does not cover one of the two protocols. Your real address is still visible on the other.

Do not run this comparison on a page you do not trust: the page learns your real or VPN address by design, because that is what it reports. A VPN provider's own check page is a reasonable choice when you already trust that provider. The find your IP address article covers the local address and the public one in more detail.

Check 2: look at the default route on Windows

When a VPN carries all of your traffic, it changes the routing table so that internet-bound packets go to a virtual network adapter, not to your router. Microsoft's documentation for route says the command "displays and modifies the entries in the local IP routing table", and route print displays the whole table. In Command Prompt or PowerShell:

route print -4

The -4 option limits the output to IPv4. The table starts with an interface list, then the active routes. The line you want has the network destination 0.0.0.0 and the netmask 0.0.0.0. Microsoft's reference describes 0.0.0.0 as the destination for "the default route": it is where a packet goes when no more specific route matches. Example output (addresses are placeholders):

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.20      25
          0.0.0.0          0.0.0.0       10.64.0.1       10.64.0.2       5

Two default routes are normal while a full-tunnel VPN is up. Windows picks among routes using the metric, and Microsoft's reference states that "the route with the lowest metric is chosen". In the example, the route through 10.64.0.2 has the lower metric (5 against 25), so internet traffic leaves through the VPN adapter, and the one through your router at 192.168.1.1 stays as the fallback. The interface column holds the address of the adapter the route uses, and the interface list at the top of the output matches it to a name. If the lowest-metric default route points at your normal Wi-Fi or Ethernet adapter, the VPN is not carrying your internet traffic.

Some VPNs avoid a second default route and instead add two routes, 0.0.0.0/1 and 128.0.0.0/1, that together cover every address and win over the default route because they are more specific. If you see those two lines pointing at a VPN address, that is a full tunnel too. This is a behaviour of particular VPN clients rather than something the Microsoft page documents, so treat the metric rule as the reliable one and the split pair as a pattern you may meet.

Check 3: look for the VPN adapter

A VPN client adds a virtual network adapter, so you can also look for one. In PowerShell:

Get-NetAdapter

Microsoft's documentation says the cmdlet "gets the basic network adapter properties", and by default returns only visible adapters. Look at the Name, InterfaceDescription and Status columns. Adapter names such as "WireGuard Tunnel", "TAP-Windows Adapter", "Wintun" or a provider's name are typical, but the names depend on the client and the version, so do not rely on a fixed list. Example output (names are placeholders):

Name        InterfaceDescription               Status
----        --------------------               ------
Wi-Fi       Wireless Network Adapter           Up
vpn0        Example VPN Virtual Adapter        Up

An adapter that shows Up means the VPN software has created its interface and it is active. It does not prove that your traffic uses it: that is what the routing check answers. An adapter that is Disconnected or missing, together with a normal default route, means no VPN is active on this computer.

Check 4: test for leaks

Even when the IP address changes, some information can still go around the tunnel. Two common leaks are worth a test.

  • DNS leaks. Mullvad's check page describes a DNS server as "the first point of contact that your browser makes", and notes that this lets its operator learn which sites you visit. If your lookups still go to your internet provider's resolver, the provider sees the sites you visit even though the web traffic is tunnelled. The DNS leak test article shows how to run one and how to fix a leak.
  • WebRTC leaks. The same Mullvad page says a side effect of WebRTC is that "your real IP could be exposed". WebRTC is a browser feature for direct connections, used by video calls. A leak test page can show whether your browser reveals your real address through it.

Mullvad's page says it "needs javascript to work properly", so a check page of this kind will show nothing if scripts are blocked. A blocked or failed test is not a pass. Retry in a private window, or disable the extension that blocks scripts for that one page.

If a website says you are using a VPN

The reverse question comes up as well: a streaming service, bank or shop shows a message that it has detected a VPN. A website sees only the IP address a request comes from. It cannot read your adapter list. When it recognises that address as belonging to a hosting company or a known VPN provider, it concludes that you are probably using a VPN. That is also why a VPN address can be blocked while the same address would be allowed from a home connection.

It works the other way too. If a site claims you use a VPN and you are sure you do not, check for a work or school VPN client that is still connected, a proxy set in your browser or system settings, or a security product that filters traffic through its own servers. The proxy vs VPN article explains how a proxy differs from a VPN, and is Zscaler a VPN covers one corporate case where traffic goes through a service that is not a classic VPN. For background on what a VPN does to your traffic, see how a VPN works.

Why the app says connected but nothing changed

  • Split tunnelling. The app is set to send only some apps or networks through the tunnel. Work VPNs do this routinely, and many consumer apps offer it as an option. Your browser may be outside the tunnel.
  • The browser has its own connection. A proxy extension, or a setting that bypasses the system network, can send browser traffic elsewhere. Test in another browser.
  • IPv6 is not covered. If the lookup shows an IPv6 address that matches your baseline, the VPN handles IPv4 only. Turn on the app's IPv6 or leak protection option, or disable IPv6 on the adapter.
  • The connection dropped. Without a kill switch, many clients let traffic flow normally after the tunnel fails, and the app may not notice for a while. Reconnect, and enable the kill switch if the app has one.
  • Cached results. A lookup page loaded before you connected can show the old address. Reload it in a new private window.

A quick checklist

  1. Note your public IP address with the VPN off.
  2. Connect, reload the lookup in a private window, and confirm the address and network name changed.
  3. Run route print -4 and confirm the lowest-metric default route points at the VPN's address.
  4. Run Get-NetAdapter and confirm the VPN adapter is Up.
  5. Run a DNS leak test and a WebRTC test from the browser you actually use.

If steps 2 to 4 agree, you are using the VPN. If they disagree, trust the routing table and the IP lookup over the app's status light, and work through the list of causes above.

Frequently asked questions

How can I tell if I am using a VPN right now?
Look up your public IP address with the VPN off, then again with it on. If the address and location change to the VPN server's, your traffic is going through the VPN. If the address is identical, it is not, whatever the app's status light says.
Can a website tell that I am using a VPN?
Often, yes. A site sees only the IP address your traffic comes from. If that address belongs to a data centre or a known VPN provider, the site can guess you use a VPN. Providers' own check pages and IP lookup services label such addresses.
I am connected to a VPN but my real IP address shows. Why?
The usual causes are split tunnelling (only some apps or networks use the VPN), a browser feature such as WebRTC revealing the address, or an IPv6 address that the VPN does not cover. Check your VPN app's settings for a kill switch and for IPv6 handling, then test again.
Does a work VPN count as a VPN for this test?
Yes, but it often routes only company traffic through the tunnel. A public IP lookup may still show your home address, while the routing table shows routes to the office network. Both results can be correct at once.

Sources