How to check if your VPN is working - Proton VPN Blog (2024)

The most basic function of a virtual private network (VPN) is to hide your real IP address from websites you visit (and anyone else on the internet). If a VPN fails to do this, it’s simply not working.

A VPN that hides just your IPv4 address can technically be connected, but it’s still not doing its job properly if it’s not preventing websites from seeing your real IP address. If a VPN connection is technically working, but there are ways in which websites can see your IP address anyway, this is called a leak.

In this article, we look at how to tell if your VPN is working (at all) and how to make sure it’s not leaking your IP address in any way.

  • How to check that your IPv4 address has changed
  • How to check for IPv6 leaks
  • How to check for DNS leaks
  • How to check for WebRTC leaks

How to check that your IP address has changed

An Internet Protocol (IP) address is a numerical label that uniquely identifies every device that connects (directly) to the internet. Websites you visit can usually see your IP address and therefore know who you are (and can use this information to track you across multiple websites).

Learn more about IP addresses

When you use a VPN, you connect to the internet via a VPN server that acts as an intermediary between your device and the internet. All that websites you visit can see is the IP address of the VPN server (not your real IP address or who your ISP is).

How to check if your VPN is working - Proton VPN Blog (1)

Learn more about how a VPN works

How to test if your VPN is working

1. Disconnect the VPN, visit ip.me, and make a note of your public IP address.

How to check if your VPN is working - Proton VPN Blog (2)

Until fairly recently, all websites (and anything else connected to the internet) used the IPv4 standard, which uses 32-bit internet addresses, creating about 4.29 billion total available addresses (we’ll get to why this is important in a minute).

If you have a short IP address that looks something like 185.159.159.142, then your ISP supports only IPv4 connections. This is by far the most used version of the Internet Protocol and is the only IP version available to 55% – 61% of people globally.

If your IP address is a hexadecimal number that looks something like 2001:db8:8a2e:370:7334, then you have IPv6 connectivity. This means your ISP supports the new Internet Protocol version, designed to address the fact that IPv4 addresses have all but run out (there are around 340 undecillion available IPv6 addresses, so it’s unlikely we’ll ever run out of them). If IPv6 is available, most operating systems will use it by default.

2. Connect to a VPN server, visit ip.me again (or just refresh the page), and compare your public IP address with the address you noted earlier. If they’re different, then the VPN is working.

(Proton tip: Connect to a server in a different country to make the change in IP address more obvious).

How to check if your VPN is working - Proton VPN Blog (3)

If your IPv4 address without a VPN matches your IP address when you’re (supposedly) connected to a VPN server, the VPN isn’t working. Contact your VPN service for assistance or change your VPN provider.

If your IPv6 address without a VPN matches your IP address when connected to a VPN, then the VPN may not be working, or you may have an IPv6 leak.

How to check for IPv6 leaks

What is an IPv6 leak?

Most servers still don’t support IPv6, so most ISPs that support IPv6 have adopted a dual-tiered approach. They broadcast both an IPv6 and an IPv4 address. An IPv6-capable server will look for an IPv6 connection first, then fall back to accepting an IPv4 connection if it can’t find one. This is why you’ll only see your IPv6 address when you visit ip.me from an IPv6 address.

An IPv6 leak occurs when a VPN app successfully intercepts your IPv4 connection and routes it through the VPN server but doesn’t account for potential IPv6 connections. It therefore allows connections over IPv6, exposing the real IPv6 addresses of anyone using an ISP that supports IPv6 to IPv6-capable websites.

If you’re connected to a VPN, have an IPv6 connection, and see your real IPv6 address on ip.me, there are two potential explanations:

  1. The VPN isn’t working
  2. The VPN is blocking IPv4 connections, but you have an IPv6 leak.

How to find out if you have an IPv6 leak

Open the Command Prompt (Windows), Terminal (macOS), or a terminal window (Linux). Terminal emulator apps are also available for Android and iOS. To find your real IPv4 address. disconnect the VPN, enter the following text, and hit enter.

curl -4 icanhazip.com
How to check if your VPN is working - Proton VPN Blog (4)

Now reconnect the VPN and run the command again. If the displayed IPv4 address is your real IP address, the VPN simply isn’t working. If it has changed to that of the VPN server, you have an IPv6 leak.

To test your public IPv6 address from the command line, enter: curl -6 icanhazip.com.

How to fix an IPv6 leak

The best way to fix an IPv6 leak is to use a VPN app with effective built-in IPv6 protection. This includes all Proton VPN apps. It’s also possible to manually disable IPv6 at the system level on Windows, macOS, and Linux.

Until the world has reached the point where a significant number of web servers support only IPv6 connections, there is no downside to disabling IPv6.

How to check for DNS leaks

What is a DNS leak?

The Domain Name System (DNS) maps human-friendly domain names to their corresponding computer-friendly numerical IP addresses.

For example, the Proton VPN website uses the domain name protonvpn.com, which corresponds to the IP address 185.159.159.140. When you type www.protonvpn.com into your browser’s URL bar, the domain name must be converted to its corresponding IP address for computers to understand it.

This conversion process is usually performed by special DNS servers run by your ISP. Most ISPs log their customers’ DNS requests (and, in many places, are required to do this by law), as this is the easiest way for them to track what you do online.

Learn more about DNS

To prevent customers from being tracked by their DNS queries, a good VPN service will route them through the VPN tunnel to be resolved by DNS servers run by the VPN service. A DNS leak occurs when you use a VPN that fails to route your DNS requests within the VPN tunnel, allowing them to be resolved by your ISP.

It’s possible to manually change your DNS provider, which means the third-party DNS provider will resolve your DNS queries instead of your ISP. Manually configuring your DNS in this way makes DNS leaks more likely to happen, so it’s not recommended if you use a VPN.

How to find out if you have an DNS leak

Connect the VPN, visit DNS leak test.com, and run either the Basic or Extended test.

How to check if your VPN is working - Proton VPN Blog (5)

The returned results should show IP addresses belonging to your VPN service. If they belong to your ISP or a third-party DNS service that you’ve configured, you have a DNS leak.

How to check if your VPN is working - Proton VPN Blog (6)

How to fix an DNS leak

The only real way to fix a DNS leak is to use a VPN app that offers reliable DNS leak protection. Proton VPN offers robust DNS leak protection in all our apps.

An imperfect workaround is to manually configure your operating system to use a trusted third-party DNS service. This doesn’t prevent the DNS leak, but at least it means someone you trust more than your ISP is resolving your DNS queries.

Learn how to manually configure your DNS settings

When choosing a privacy-focused third-party DNS service, choose one that supports encrypted DNS queries (DoT or DoH). Do remember, though, that using a third-party DNS service makes DNS leaks more likely to happen, so only do this with a VPN if you have no other option.

How to check for WebRTC leaks

What is a WebRTC leak?

WebRTC (Web Real-Time Communication) is an open standard that allows voice and video chat inside your browser without installing any plugins or downloading any apps. It’s therefore very useful and fully supported by all major browsers.

However, the way WebRTC works can expose your real IP address to bad actors. WebRTC is a peer-to-peer protocol (similar to BitTorrent). To achieve seamless browser-to-browser communication through obstacles such as firewalls, your browser broadcasts your real IP address to special (STUN) servers that keep a list of both your public IP addresses and your real IP addresses.

If someone wishes to initiate a WebRTC conversation with you, the STUN server will provide them with your real IP address, even when you’re hiding your public IP address with a VPN.

Strictly speaking, the WebRTC “problem” is a browser issue that is unrelated to how a VPN works. However, there is little point in using a VPN if your browser just hands over your real IP address to anyone who asks for it.

How to find out if you have a WebRTC leak

Connect the VPN, visit the Browserleaks WebRTC Leak Test page, and wait for the test to complete (it can take a few minutes). You should only see IP addresses belonging to the VPN server. If you see your real IP address(es), you have a WebRTC leak.

How to check if your VPN is working - Proton VPN Blog (7)

How to fix a WebRTC leak

A good VPN app will use firewall rules and other platform-specific techniques to ensure your real IP address can’t be exposed by WebRTC.

It’s also possible to manually disable WebRTC on your browser.

Firefox

Type about:config in the address bar, hit Enter, and click Accept the Risk and Continue. Search for media.peerconnection.enabled and double-click the result to set its value to false.

How to check if your VPN is working - Proton VPN Blog (8)

Chrome and all Chromium-based browsers (such as Brave and Edge)

Install the WebRTC Network Limiter browser extension from the Chrome web store. This official extension from Google allows you to manage how WebRTC connections work in your browser.

How to check if your VPN is working - Proton VPN Blog (9)

Final thoughts

A good VPN app must ensure that your IP address is always hidden from websites you visit. If it doesn’t, you have a leak. Although we suggest ways to address IPv6, DNS, and WebRTC leaks in the article, the real solution is to use a VPN service that offers apps that work properly.

All Proton VPN apps are built from the ground up to include comprehensive IPv6, DNS, and WebRTC leak protection, ensuring your real IP address is always hidden.

Get Proton VPN

How to check if your VPN is working - Proton VPN Blog (2024)

FAQs

How to check if your VPN is working - Proton VPN Blog? ›

Connect to a VPN server, visit ip.me again (or just refresh the page), and compare your public IP address with the address you noted earlier. If they're different, then the VPN is working. (Proton tip: Connect to a server in a different country to make the change in IP address more obvious).

How to tell if Proton VPN is working? ›

After connecting to one of Proton VPN's servers or locations, your IP address will be changed automatically. To confirm that your IP address has been changed, please follow these simple steps: Visit our what is my IP tool and note down your IP address and location. Connect to Proton VPN server.

How to test if your VPN is working? ›

How to check if a VPN is working
  1. Turn off your VPN.
  2. Visit WhatIsMyIPAddress.com. You'll see your public IP address — the one that's assigned to you by your internet service provider (ISP). ...
  3. Turn on your VPN and connect to a server in your chosen location. ...
  4. Check your IP address again using the same method as before.

How to tell if a VPN is being used? ›

VPNs can be detected through simple mechanisms like comparing the actual browser timezone with the target server's exit node or by using databases that store information about whether a given IP address belongs to the VPN.

Why isn't my Proton VPN working? ›

This may be due to maintenance being performed in your area, poor reception (if using a mobile connection), a technical problem, or a problem with your account. You can identify if the problem lies with your ISP by connecting over a different network (for example, using your phone as a mobile hotspot rather than WiFi).

Can police track Proton VPN? ›

All Proton VPN servers are protected by full-disk encryption, meaning no one can access their encryption keys.

Can I leave Proton VPN on all the time? ›

Note: Always-on VPN is available for Android version 7.0 and later. 1. Open the Proton VPN app and go to the Settings tab → Features → Kill Switch.

How do I troubleshoot my VPN? ›

If your VPN software is not working properly, you can take the following actions:
  1. Check your internet connection.
  2. Try a different server location.
  3. Restart your device.
  4. Check your VPN settings and open ports.
  5. Disable firewall or antivirus.
  6. Reinstall your VPN software.

What happens if a VPN fails? ›

What happens if your VPN disconnects without a kill switch? If your VPN disconnects, and you don't have a kill switch enabled, your internet connection will stay active, your true IP address will be exposed and your web traffic from the moment of disconnection will continue unencrypted.

How do I check my VPN location? ›

Using online services such as IP address locator websites is one of the ways to learn more about your VPN server. When connected to a VPN, these sites can provide data associated with your IP address, including the city and country your VPN server is in and even your ISP.

How do I know if my VPN is running in the background? ›

Visit a website that displays your IP address, such as What Is My IP or IP Address Lookup. Take note of the original IP address your Internet Service Provider (ISP) assigned. Open your VPN client and connect to a VPN server. Once connected to the VPN server, revisit the same IP address checking website.

Am I traceable if I use VPN? ›

No. Your data is encrypted, so your ISP can't see its contents. This includes DNS requests, which are sent through the VPN tunnel and resolved by the VPN provider. Your ISP can see the IP address of the VPN server you're connected to, but it can't see any connections made after that.

Can VPN be tracked by government? ›

Can police track online purchases made with a VPN? There is no way to track live, encrypted VPN traffic. That's why police or government agencies who need information about websites you visited have to contact your internet service provider (ISP for short), and only then your VPN provider.

How do I know if Proton VPN is working? ›

(Proton tip: Connect to a server in a different country to make the change in IP address more obvious). If your IPv4 address without a VPN matches your IP address when you're (supposedly) connected to a VPN server, the VPN isn't working.

Is Proton VPN a reliable VPN? ›

Proton VPN employs high-strength VPN protocols with no known vulnerabilities to protect your data, such as OpenVPN, IKEv2, and WireGuard. With Proton VPN, you can expect fast, secure, and censorship-resistant VPN connections.

Does Proton VPN even work? ›

ProtonVPN has plenty of servers and a privacy-friendly focus. Although its speeds were okay, other VPNs we tested were faster. Proton VPN comes in at No. 7 on our list of the Best VPNs of 2024, with a score of 4 out of 5.

Can Proton VPN be detected? ›

Stealth. Proton VPN's Stealth is a unique VPN protocol that evades detection and allows you to bypass most firewalls and VPN blocking methods.

How do I get Proton VPN to work? ›

Open the app and Sign in.
  1. Enter your Proton Account username and password. ...
  2. Connect to a VPN server.
  3. b) If you're on a paid Proton VPN plan, you can also manually select a server to connect to. ...
  4. c) Tap Map to access a world map that can help you find servers close to your current location.

How do I know if my VPN is working terminal? ›

Checking the VPN Connection
  1. Open a Local Terminal.
  2. Run the comand ifconfig.
  3. Check whether the output contains a tun device with an IP address from the private network.
  4. Additionally, check whether you can ping the VPN server's private IP address.

References

Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated:

Views: 5623

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.