Disabling IPv6 on MacOS

IPv6 is a new internet protocol that may cause VPN leaking issues if your VPN server can’t handle requests routed through it. Short of changing VPN providers, you can fix an IPv6 leak by disabling the protocol’s usage on your device.

Here’s how you do so on MacOS.

NOTE that unless it’s the source of a VPN leak, disabling IPv6 is generally not a good idea. Do this as a last resort, and make sure you understand the options before playing around with them!

STEP 1. In Finder, go to Applications and then the Utilities folder. From there, go to Terminal.

STEP 2. Enter the following depending on your current connection type:

  • For Wireless connection (WiFi): networksetup -setv6off Wi-Fi
  • For Wired connection (Ethernet): networksetup -setv6off Ethernet

After typing, press Enter.

STEP 3. Close the Terminal app, then run the IPv6 leak test again. This time you should no longer have a leak.

Remember, ensuring you don’t have a VPN leak is just one of the many things you can do to make sure your VPN protects your privacy as it’s supposed to. You can also check out our list here of the things you can do to upgrade your browsing habits to ensure your anonymity!