Key Takeaways
  • Run these five tests to confirm your VPN is working: Check for IP leaks, DNS leaks, WebRTC leaks, and kill switch behavior — and scan for malware before you install any VPN.
  • Your VPN can fail silently: Even if the app shows "Connected," your real IP may still be exposed. Always verify with a dedicated leak-testing tool like ipleak.net or BrowserLeaks.com.
  • A kill switch is your safety net: It cuts your internet if the VPN drops, preventing accidental IP exposure. ClearVPN has this built in and lets you test it directly in the app.
  • Slow speeds and dropped connections often aren't the VPN's fault: Check your Wi-Fi signal quality first with WiFi Signal before blaming the VPN.
  • ClearVPN, WiFi Signal, and CleanMyMac are available on Setapp — one subscription covers all three, plus 270+ other Mac and iPhone apps. Try it free for seven days.

Simply checking that your VPN app is on is not enough; always make sure it’s actually working properly. Here’s a list of essential VPN tests you should run, especially if you’re using your VPN for the first time. I'll walk you through each one in detail below:

Test type What it checks Quick fix (if needed)
IP leak test Verifies your real IP is hidden Switch VPN servers or providers
DNS leak test Ensures DNS requests are encrypted Enable DNS leak protection
WebRTC leak test Checks browser-based IP exposure Use VPN with WebRTC blocking
Kill Switch test Tests automatic disconnect on VPN drop Enable kill switch in VPN settings
Speed test Measures connection performance Try different server locations
Malware scan Detects malicious VPN software Use CleanMyMac to scan

Why is my VPN not connecting?

VPNs may feel as simple as clicking a button, but there's a lot of complex technology running behind the scenes — and plenty of ways for things to go wrong.

Here are some common problems:

  • Network throughput issues (slow internet or VPN protocol)
  • Weak TCP (Transmission Control Protocol)
  • Blocked internet ports
  • DNS server problems
  • Overly active antivirus software
  • Frequently crashing VPN app

The tricky part: your VPN can fail silently. You might still have an internet connection and never notice anything is wrong. A good indicator of a poorly functioning VPN is IP, DNS, or WebRTC leaking. 

How to test your VPN for leaks

The types of leaks you should check for are IP, DNS, and WebRTC leaks. Another thing you should do is run a VPN kill switch test. Here’s how you run all these checks. 

Check for an IP leak

To verify that your IP address is hidden from others:

  1. Turn off the VPN.
  2. Go to ipleak.net or whatismyipaddress.com.
  3. Note the IP address — it should match your actual city.
  4. Connect to a VPN server.
  5. Refresh the IP detector page.
  6. Compare the new IP address with your original one.

The VPN server assigns your new IP address, so it shouldn't match your original one. Otherwise, you're experiencing an IP leak.

By the way, here you can learn more ways to find the IP address on your Mac.

Check for a DNS leak

Keep in mind: passing the IP test doesn't mean you're safe from DNS leaks. To do that:

  1. Connect to a VPN server.
  2. Go to BrowserLeaks.com > More Tools > DNS Leak Test.
  3. Wait for the tool to run the test.
  4. Check the server's IP address and location in the results.

If any of the listed DNS servers belong to your ISP, your VPN is experiencing a DNS leak.

Check for a WebRTC leak

A simple test can reveal if WebRTC is giving away your IP address, even with the VPN turned on. To check it:

  1. Turn on the VPN.
  2. Go to Browserleaks.com and click WebRTC Leak Test.
  3. Wait for the results.

If you use a good VPN, you should pass the test. Otherwise, you need to fix WebRTC leaks. One way to do this is to switch to a VPN that handles WebRTC leaks natively; here's a list of the best VPNs for Mac to help you choose.

Run a VPN kill switch test

Testing a kill switch takes a few more steps than a standard leak test, but it's worth doing. You need to simulate a VPN drop without cutting off the internet connection and detect any changes in the IP address.

Sounds complicated, but the good news is that ClearVPN already has the Kill Switch feature installed, so you can use it for the test. Before starting, check your current IP address.

Here's how to run this test:

  1. Install and open ClearVPN > Click Connect.
  2. Click Settings > System Settings.
  3. Turn on Kill Switch.
  4. Simulate a VPN drop by manually disconnecting the tool.
  5. Check your IP address again to see if your real IP address is exposed.

The Kill Switch settings in ClearVPN, a VPN app available on Setapp

The Kill Switch feature should block all internet traffic when the VPN disconnects, preventing any IP exposure.

How to fix a VPN that won't connect

If your VPN is not connecting, don't panic. Try these methods and see if you can get it to work properly again.

Restart the VPN app

Sometimes, a glitch in the VPN app causes the problem. Your VPN might refuse to connect or behave weirdly. If this happens, close the app and then reopen it. After that, try connecting to the VPN server again.

Check your Wi-Fi network

If you're offline, your VPN won't function. Similarly, if you're experiencing Wi-Fi issues like a weak signal, you might encounter the same problem. I remember traveling and dealing with a VPN that kept dropping — frustrating in the moment, but it turned out the culprit was a weak Wi-Fi signal, not the VPN itself.

To address these kinds of problems, I started using WiFi Signal to diagnose and fix VPN not connecting issues. WiFi Signal monitors your connection strength in real time — so you can spot weak signals before they cause your VPN to drop.

Here's how it works:

  1. Install and open WiFi Signal.
  2. Click the app icon at the top menu bar.
  3. Check the Signal Quality.

The display of WiFi Signal, an app monitoring your Wi-Fi connection, available on Setapp

Make sure that you get a good signal before you continue troubleshooting. You can try WiFi Signal on Setapp for free.

Check your Mac's firewall

If your firewall is on, it might block the VPN from reaching its server. Go to System Settings > Network > Firewall to check. Rather than turning it off entirely, try adding your VPN as an exception — disabling your firewall leaves your Mac exposed.

Check your VPN's split-tunneling settings

Some VPNs offer split tunneling. This means you can skip linking some apps to the VPN. If you don't set it up right, you may think the VPN is off when you use some apps.

Here's how to check it:

  1. Launch your VPN.
  2. Look for an option called Split Tunneling or similar.
  3. Check excluded apps.
  4. Open the excluded app and check your IP address.
  5. Turn on Split Tunneling for specific apps if you want to cover them.

If the app isn't using the VPN, it will display your actual IP. Now you can relax, knowing there are no split-tunneling issues on your end.

Or get CleanMyMac on its own — from $9.95 USD/mo with a free 7-day trial.

Test your VPN for malware

I hate to say this, but some VPNs carry malware, especially free VPNs from unknown providers. That’s why you have to be cautious and scan the VPN installer for malware before installing it.

Here's how:

  1. Go to VirusTotal.com, a free online virus scanner.
  2. Click Choose file and upload the VPN installer.
  3. Check the result.

If a VPN contains malware, some of the antivirus engines VirusTotal uses will pick it up.

Now, the steps I described are only useful before you install the VPN. If you start experiencing weird stuff after installation, run a scan with CleanMyMac. This tool lets you check your whole Mac for malware, whether it came from the VPN or other sites. And what’s better — CleanMyMac will also get rid of any malware it finds!

The Smart Care scan results in CleanMyMac, a Mac maintenance app available on Setapp

Test your VPN speed

If you suspect your VPN is causing lag when streaming HD or playing a first-person shooter game, run a speed test.

Here's how:

  1. Turn off your VPN.
  2. Go to Speedtest.net > Click Go.
  3. Note down the download and upload rates.
  4. Connect to a VPN server.
  5. Refresh the Speedtest page and run the test again.

You shouldn't get a huge drop in speed. That said, VPN speed depends on traffic load, location, and the VPN protocol you're using. For example, if you're in Australia but connect to a VPN server in the US, you will experience a bigger decrease in VPN speed.

According to recent benchmarks, a quality VPN typically reduces speeds by 10-20%. Anything beyond 50% warrants switching servers or providers.

How to keep your VPN connected on Mac

When your MacBook goes to sleep, your VPN does the same. While you can't connect to a VPN in sleep mode, you can prevent your Mac from connecting to the internet.

To do that:

  1. Click the Apple icon in menu bar > System Settings.
  2. Click Battery > Options.
  3. At Wake for network access, choose Never.

At the same time, check your VPN app to see if you can configure it to automatically launch at startup. By doing that, your VPN will maintain a gapless connection each time you shut down and power up the Mac.

Now you know how to make sure your VPN works

Troubleshooting a VPN can be tricky because there are so many things to check. From IP leaks to hidden malware, most users will be overwhelmed. But it's important to ensure your VPN works properly. Otherwise, you'll be exposed.

If you want to skip manual testing and just stay protected, the three apps in this guide do the job together. ClearVPN keeps your connection secure and reconnects automatically, WiFi Signal flags weak connections before they drop your VPN, and CleanMyMac scans for anything malicious that might have slipped through during install. All three are on Setapp — try them free for 7 days, cancel before Day 7, and you're charged nothing.

FAQ

How do I know if traffic is going through my VPN?

Run three quick tests to verify your VPN is routing all traffic properly:

  1. IP test: Check your IP at whatismyipaddress.com before and after connecting — they should differ.
  2. DNS test: Visit dnsleaktest.com while connected — only VPN servers should appear.
  3. WebRTC test: Go to browserleaks.com/webrtc — your real IP shouldn't show.

If any test fails, your traffic isn't fully protected.

How do I make sure my VPN is off?

Disconnect from the VPN server through your VPN app. Then check your IP address on whatismyipaddress.com. If you see your original IP address matching your actual location, your VPN is successfully turned off. You can also check your network settings to confirm no VPN connections are active.

Why is my VPN not connecting?

Four common issues prevent VPN connections:

  1. Weak Wi-Fi signal — use WiFi Signal to check strength.
  2. Outdated VPN app — update to the latest version.
  3. Firewall blocking — add VPN as an exception in System Settings.
  4. Server overload — switch to a less crowded server.

Try each fix in order until your connection works.

How do I know if a VPN is safe?

Check three key safety indicators:

  1. Scan the installer with VirusTotal.com before downloading.
  2. Verify a no-log policy on the provider's privacy page.
  3. Test for built-in protections like the kill switch and DNS leak prevention

For installed VPNs, run CleanMyMac to detect any malware. Avoid free VPNs without clear privacy policies.

How do I test my VPN for leaks?

Follow these steps for a comprehensive leak test:

  1. Connect to your VPN and visit ipleak.net to check for IP/DNS leaks.
  2. Run a WebRTC test at browserleaks.com/webrtc.
  3. Test IPv6 leaks at test-ipv6.com while connected.

All results should show your VPN server location, not your real one. If any test reveals your actual location, your VPN has a leak.

How can I check if my VPN kill switch works?

Test your kill switch with these steps:

  1. Note your real IP address before connecting.
  2. Connect to the VPN and enable the kill switch.
  3. Manually disconnect the VPN (not the internet).

Try accessing any website — you shouldn't be able to browse. If pages load and show your real IP, the kill switch isn't working properly.

Why is my internet slower when I use a VPN?

VPNs add encryption overhead that typically reduces speeds by 10-20%. Three factors affect performance:

  1. Distance to server — choose servers closer to your location.
  2. Server load — switch to less crowded servers.
  3. Protocol type — try WireGuard for faster speeds.

Test different servers with Speedtest.net to find your optimal connection.

400+ apps for all your daily tasks.

Sign up to Setapp and try them for free.

Security-tested