VPN Security, Protocols & Post-Quantum

Step by step

How to test the kill switch and DNS leak protection in Proton VPN after installation

The check takes about five minutes and consists of three actions: turn on the kill switch, compare IP and DNS on ipleak.net while the VPN is connected, and trigger a connection drop without pressing disconnect in the app. You will need Proton VPN installed, a browser and a second network to switch to: mobile data or a hotspot from your phone.

From VPN Security, Protocols & Post-Quantum — Last reviewed

Run the short Proton VPN check

First, the kill switch is turned on. According to Proton's support page, the feature is available on all free and paid plans. It blocks all internet traffic from the device if the VPN connection drops.

Next comes the leak test. When connected to a server, ipleak.net or dnsleaktest.com should show the IP address of the Proton server. The DNS list should contain only Proton's own servers: the company states that it runs its own DNS servers. The resolvers of a British provider (BT, Sky, Virgin Media) should not appear there.

The final test checks connection drops: the device switches from Wi-Fi to mobile data. Proton itself names a network change as one of the cases in which the kill switch triggers. Until the tunnel comes back up, pages should not load. If at any stage you see the real IP or your provider's DNS, the protection is not working.

Telling the two features apart before testing

The kill switch exists for the case when the tunnel drops: if the VPN connection falls over, it blocks traffic so that no data reaches the provider from the real address. Proton describes the task as follows: protect the IP address and DNS activity at the moment of disconnection.

DNS leak protection works while the tunnel is alive. DNS queries, with which the system turns a site name into an IP address, must travel through the encrypted tunnel to the VPN's DNS servers. If they go to the provider's resolver instead, it sees the list of domains visited, even though the IP is hidden. In a comparative feature review, their purposes are divided in exactly the same way. A clean DNS test says nothing about the kill switch, and vice versa. We covered the mechanics of leaks in more detail in our piece what is a DNS leak.

Account for the network and platform

After every protocol change, both tests must be repeated: the tunnel is brought up afresh on the new protocol.

SituationWhat to check especiallyProton VPNCitadelVPN
Home Wi-FiIP and DNSOpenVPNVLESS by default; WireGuard and OpenVPN configs in the MAX plan
Hotel or airport, switching between Wi-Fi and mobile dataKill switch during a network changeKill switch reacts to network changesKill switch enabled (according to the company)
A network that blocks VPN trafficBoth tests after changing protocolStealthVLESS, Hysteria2, AmneziaWG
AndroidSystem-level blocking without VPNAlways-on VPN + Block connections without VPNAndroid app
LinuxDNS after connectingGUI app and CLIManual configuration, no app needed

Step 1. Turn on the kill switch in Proton VPN

The path from Proton's official instructions for Apple devices:

  1. Open Proton VPN and select Settings in the navigation panel.
  2. Scroll down to Security Options and toggle Kill switch on.

On some platforms the path looks different: Menu > Settings > Features, then the Kill switch toggle.

Windows, the Linux GUI app and iOS/iPadOS (beta) have an advanced kill switch. It allows internet access only while connected to Proton VPN, with no exceptions, and stays active after a reboot. From the wording "with no exceptions" it follows that a printer, NAS or Chromecast on the home network may become unreachable, even though the device itself is working fine.

On most platforms the kill switch is incompatible with split tunnelling, and split tunnelling will have to be switched off. Windows is the exception: there, both kill switch modes work alongside split tunnelling.

Android: system-level traffic blocking

  1. In the Proton app, scroll down to Features and tap Kill switch.
  2. Tap Settings to open the device's system settings.
  3. Find Proton VPN and tap the cog icon.
  4. Enable Always-on VPN and Block connections without VPN.

Proton clarifies that on Android the feature works more like an advanced kill switch: the blocking is enforced by the operating system itself. According to an explanation from FortiSafe, Always-on VPN has existed since Android 7.0, while Block connections without VPN is available if the VPN app supports it.

Step 2. Test IP and DNS for leaks

  1. Without the VPN, open ipleak.net and note your IP and DNS servers: this is your provider's baseline.
  2. Connect to a Proton server.
  3. Open ipleak.net in a new tab.
  4. For good measure, run the extended test on dnsleaktest.com.
  5. Compare the results against the baseline.
TestTool / actionProtection works if…Sign of a leak
IPipleak.netThe VPN server's IP is shownA British provider's IP is shown
DNSdnsleaktest.com (extended) or ipleak.netOnly Proton's DNS servers in the listThe provider's resolver in the list
WebRTCipleak.net in the browserNo real public IPReal IP in the WebRTC block
Kill switchSwitching from Wi-Fi to mobile data with a page openPages do not load until reconnectionPages load with the real IP

How to read the result

ipleak.net shows the resolvers that answered its probe requests. If a provider's resolver or any other unexpected server appears among them, DNS is not locked inside the tunnel. Common sources of discrepancies, according to the service: Private DNS on Android, apps with their own resolver, and split tunnelling. An official description of the problem is available on Proton's page about DNS leaks. The same procedure for another service is set out in our piece on a DNS test for Private Internet Access.

Windows: Smart Multi-Homed Name Resolution

In Windows Pro and Enterprise, the system may send DNS requests through all network adapters simultaneously, including the adapter that bypasses the VPN. The Best VPN advises first checking the leak protection settings within the VPN itself, and then disabling Smart Multi-Homed Name Resolution via Group Policy.

WebRTC in the browser

WebRTC obtains the public IP through STUN, bypassing system settings. It counts as a leak when the provider's address appears in this block. An entry looking like "….local" in Chromium-based browsers hides the local address and is not, in itself, a leak. The same set of checks for another provider is covered in our analysis of leaks in Mullvad.

Step 3. Simulate a drop and test the kill switch

The disconnect button in the app will not do for this test: many clients treat it as a deliberate shutdown and do not engage the blocking. The drop must be created externally.

  1. Connect to Proton, open ipleak.net and start a long download or video.
  2. Turn off Wi-Fi or switch to mobile data without touching the app.
  3. Immediately refresh the ipleak.net page.
  4. After reconnecting, check the IP and DNS once more.

Proton describes the expected behaviour as follows: the kill switch constantly monitors the connection to the server and blocks all traffic immediately upon a drop. At step 3 the page should fail to load; at step 4 the server's IP should reappear. A more detailed version of the test is in our guide how to test the kill switch on Windows.

For example: two laptops on a train lose the carriage Wi-Fi, and both switch to a phone hotspot. On the first laptop the kill switch is off, and a torrent client spends several seconds sharing from the real IP of the mobile operator. On the second, traffic stalls until the tunnel is restored.

Fixing the problem if the test fails

  1. The kill switch is off or conflicts with split tunnelling. Check the toggle, disable split tunnelling on most platforms and reconnect.
  2. The leak appears on one protocol only. Change OpenVPN to Stealth or vice versa and repeat both tests.
  3. In Windows, DNS goes to the provider. Disable Smart Multi-Homed Name Resolution via Group Policy.
  4. The real IP is visible only in the WebRTC block. Check browser settings or extensions that restrict WebRTC.
  5. On Android, a foreign resolver appears in DNS. Check Private DNS in the system settings and apps with their own resolver.
  6. A VPN, Smart DNS and a proxy are running at the same time. Following Vivid Repairs' advice, keep one network tool.

If nothing helped, it is worth writing to Proton support with the ipleak.net results. The same procedure can be followed with CitadelVPN: the company offers a five-day trial period and 24/7 chat support (terms on the website). In censored networks the order differs; it is described in our piece on checking VPN leaks in Iran. The tests are worth repeating after client updates, especially in light of recent VPN vulnerability reports.

Proxy errors in BBC iPlayer and Netflix

According to Planet VPN, the BBC blacklists IPs from which many viewers watch, while the real location is betrayed by old cookies, DNS or WebRTC leaks. BAIZAAR points out that a cookie left over from before connecting contradicts the new IP. Clearing cookies, opening a new private window and switching servers help. For iPlayer in the UK, a TV Licence is still required.

Frequently asked questions

Should IPv6 be disabled on hotel Wi-Fi?

Proton lists IPv6 leak protection among its measures alongside the kill switch and its own DNS servers. Rather than disabling it manually, open ipv6.ipleak.net while the VPN is connected. If a provider's IPv6 address is visible there, there is a leak, and that is grounds to contact support.

A quick summary of the check

  • If keeping your IP hidden during a drop matters, test the kill switch by switching from Wi-Fi to mobile data. On Android, additionally enable Always-on VPN and Block connections without VPN.
  • If DNS privacy matters, use ipleak.net and dnsleaktest.com in a new tab. Only the VPN's servers should appear in the list: Proton runs its own DNS servers, and CitadelVPN has its DNS leak protection enabled.
  • If you need split tunnelling, account for its limitations. CitadelVPN configures split tunnelling per application, per website or for the whole device; with Proton it combines with the kill switch on Windows only. Excluded programs will always show the real IP during a test.
  • If your network blocks VPN traffic, repeat both tests after changing protocol. CitadelVPN offers VLESS, Hysteria2 and AmneziaWG for this; Proton has Stealth.
  • If you need a VPN on a router, CitadelVPN provides WireGuard, OpenVPN and VLESS configs in the MAX plan, with an example for Keenetic.

Further sources

  1. Proton's support page, protonvpn.com
  2. ipleak.net, ipleak.net
  3. dnsleaktest.com, dnsleaktest.com
  4. states, protonvpn.com
  5. a comparative feature review, docs.google.com
  6. an explanation from FortiSafe, fortisafe.net
  7. Proton's page about DNS leaks, protonvpn.com
  8. The Best VPN, thebestvpn.com
  9. Vivid Repairs' advice, vividrepairs.co.uk
  10. Planet VPN, freevpnplanet.com
  11. BAIZAAR, baizaar.tools

Read next