How to disable IPv6 (for VPN) Back to Knowledgebase

IPv6 is an Internet protocol designed to replace IPv4 in the long term. Even though IPv6 is becoming more and more widespread and private customers can also use an IPv6 address via their normal Internet connection, many hosting providers still do not support IPv6. For this reason we cannot offer IPv6 support for our VPN service.

What does that mean to me?

If you are using IPv6, we cannot disguise your IPv6 address. Only the IPv4 address is changed, but your IPv6 address remains the one you get from your provider. Therefore we recommend to disable IPv6 completely if you get an IPv6 address from your provider. If you are not sure, you can check this here.

Below you can find instructions on how to disable the IPv6 protocol.


Windows

IPv6 can be disabled in Windows by running a small program. Afterwards a restart of the system is mandatory.

You can download the program directly here. If you want to undo this change, you can download the program here.

Alternative methods and further help can be found here.


Mac OS

IPv6 can be disabled using the terminal. Just enter the following commands:

networksetup -setv6off Wi-Fi

networksetup -setv6off Ethernet

networksetup -setv6off “Thunderbolt Ethernet”

networksetup -setv6off “iPhone USB”

If you want to enable IPv6 again, enter the following commands:

networksetup -setv6automatic Wi-Fi

networksetup -setv6automatic Ethernet

networksetup -setv6automatic “Thunderbolt Ethernet”

networksetup -setv6automatic “iPhone USB”


Ubuntu

IPv6 can be disabled using the terminal. Just enter the following commands:

sudo vi /etc/sysctl.conf

Add the following lines to the end of the file:

net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1

net.ipv6.conf.tun0.disable_ipv6 = 1

Save and close the file and reboot the system. If you want to undo this change, you can just remove the lines again and reboot.