How to Test a VPN: 7 Real Checks That Work
In this article
To test a VPN, run a leak test (IP, DNS, WebRTC), check your connection speed, and try accessing geo-blocked content. The fastest way is to visit a site like ipleak.net with the VPN on and off, then compare the results. Below is a full step-by-step guide that covers everything from basic connectivity to advanced leak detection.
What You'll Need
- A VPN service you want to test (free or paid)
- A device with internet access (Windows, Mac, Android, iOS, or Linux)
- An internet connection that works without the VPN
- A web browser (Chrome, Firefox, Edge, Safari, etc.)
- Optional: a second device or a friend in another location to test geo-blocking
Step-by-Step
- Record your baseline (VPN off). Before turning on the VPN, note your real IP address and your internet speed. You can find your IP by searching "what is my IP" on Google, or using a site like whatismyip.com. For speed, use a service like speedtest.net. Write down the download and upload speeds.
- Connect to the VPN. Open your VPN app, choose a server location (preferably one far from you, e.g., if you're in the US, pick a European server), and connect. Wait until the app says "Connected" or shows a green light.
- Check your new IP address. Go back to the IP lookup site and confirm that the IP address shown is different from your baseline. It should also match the country of the server you chose (or at least be in the same region). If the IP still shows your real location, the VPN is not working correctly.
- Run an IP leak test. Visit ipleak.net or dnsleaktest.com. These sites check for three types of leaks: IP, DNS, and WebRTC. Click "Run Test" or "Extended Test" and wait for the results. The page should show only the VPN server's IP addresses, not your real one. If you see your real IP or your ISP's DNS servers, you have a leak.
- Test for WebRTC leaks specifically. WebRTC is a browser feature that can bypass the VPN and reveal your real IP. Use a dedicated WebRTC leak test like browserleaks.com/webrtc. If it shows your real IP, you need to disable WebRTC in your browser or use a VPN browser extension that blocks it.
- Check your speed. Run the same speed test you did in step 1, but now with the VPN connected. Compare the results. A good VPN will reduce your speed by 10-30% (especially on long-distance connections), but if your speed drops by more than 50% or becomes unusable, the VPN is too slow for your needs.
- Test geo-blocking (optional). Try accessing a service that is only available in the country of your VPN server. For example, if you connected to a UK server, try watching a BBC iPlayer video. If it loads, the VPN is effectively hiding your location. If you get an error saying "not available in your region," the VPN may be detected or the server is blacklisted.
- Test the kill switch (if available). If your VPN has a kill switch feature, turn it on in the settings. Then, abruptly disconnect the VPN (e.g., close the app or turn off your Wi-Fi). Try to load a website. If the kill switch works, you should see no internet connection until the VPN reconnects. If you can browse normally, the kill switch is not functioning.
Common Mistakes
- Testing only the IP address. Many people stop after checking their IP, but DNS and WebRTC leaks can still expose your real identity.
- Forgetting to test on all devices. A VPN might work perfectly on your phone but leak on your laptop. Test each device you use.
- Using the same server for speed tests. If you test a server that's close to you, speeds will be high. Test a server far away to see the real impact.
- Ignoring the kill switch. A VPN without a working kill switch can drop your connection and expose your real IP without you noticing.
- Testing only once. VPN performance can vary by time of day and server load. Test at different times to get a reliable picture.
Tips
- Use multiple leak test sites. No single test is perfect. Run tests on ipleak.net, dnsleaktest.com, and browserleaks.com to be thorough.
- Test with different protocols. Many VPNs offer multiple protocols (OpenVPN, WireGuard, IKEv2). Switch protocols and re-run the speed and leak tests to see which is best for your network.
- Check the VPN's support site. If you're unsure about a feature, look up the official documentation. Most VPNs have articles explaining how to test their service.
- Use a VPN on your router. If you want to test the VPN for all devices, install it on your router. Then every device on your network is protected, and you can test any device without installing the app.
- Keep a record of your baseline. Save your baseline IP and speed results somewhere so you can compare them later if you suspect the VPN is failing.
Troubleshooting
If the VPN doesn't connect at all: First, restart your device and your router. Then try a different server location. If that fails, uninstall and reinstall the VPN app. Check the VPN's status page for any server outages.
If you see your real IP in a leak test: Disconnect the VPN, close all browser tabs, and reconnect. If the leak persists, try a different VPN server. If it still leaks, the VPN itself is flawed—contact their support or consider a different service.
If your speed is very slow: Try a server closer to your physical location. Switch to a different protocol (e.g., from OpenVPN to WireGuard). Close any background apps that might be using bandwidth. If the speed is still terrible, your ISP may be throttling VPN traffic—try a different port or obfuscation setting if your VPN offers it.
If geo-blocked content still doesn't work: The VPN server might be blacklisted by the streaming service. Try a different server in the same country, or contact the VPN's support for recommended servers for streaming.
If the kill switch doesn't work: Make sure the kill switch is enabled in the VPN's settings (it's often off by default). If it's on and still not working, update the VPN app to the latest version. If the problem continues, contact support.
Frequently Asked Questions
How often should I test my VPN?
It's a good idea to run a quick leak test every few months, especially after updating your VPN app or browser. Speed can change daily, so test whenever you feel the VPN is slow.
What is a DNS leak?
A DNS leak happens when your device sends DNS requests (which translate domain names to IP addresses) to your ISP's servers instead of the VPN's private DNS. This reveals which websites you visit, even if your IP is hidden.
What is a WebRTC leak?
WebRTC is a browser feature used for voice and video calls. It can bypass the VPN and send your real IP address to websites. It's a common leak on Windows and Android devices.
Can I test a VPN for free?
Yes, all the tools mentioned (ipleak.net, dnsleaktest.com, speedtest.net) are free. You can also use free VPNs, but be aware that free VPNs often have slower speeds and may log your data.
Does a VPN slow down my internet?
Yes, almost always. The encryption and the extra distance your data travels add overhead. A good VPN will keep the slowdown under 30%, but a poor one can cut your speed in half.
Why does my VPN show a different IP than the server location?
Some VPNs use virtual servers—the IP address belongs to a different country than the physical server. This is common for streaming. It's not a leak, but it can affect geo-blocking. Check your VPN's documentation to see if they use virtual locations.