How to enable/disable IPv6
IPv6 is the latest version of the Internet Protocol, which allows devices to communicate with each other. While IPv6 will eventually replace IPv4, at the moment they’re both live and operating. Many users choose to disable IPv6 on their devices for various reasons, but IT experts warn against it. Whether you want to enable or disable IPv6, you’re in the right place.
Contents
- Should you enable or disable IPv6?
- How to enable/disable IPv6 on a router
- How to enable/disable IPv6 on Windows 10
- How to enable/disable IPv6 on Windows 11
- How to enable/disable IPv6 on macOS
- How to enable/disable IPv6 on Linux
- How to enable/disable IPv6 on Android
- How to enable/disable IPv6 on iOS
- How to enable/disable IPv6 on Xbox One
- How to enable/disable IPv6 on Raspberry PI
- Do VPNs support IPv6?
Should you enable or disable IPv6?
Some users disable IPv6 on routers or devices because they don’t run any applications or services that rely on IPv6. Some disable it while trying to fix the “DNS server not responding” error. Disabling IPv6 is also common when troubleshooting network issues. So if you’ve ever thought about disabling IPv6, you’re not alone.
IPv6 was introduced in 2012. Most services have adopted the new protocol, but some still rely on IPv4. IPv6 is supported and enabled on most operating systems, including Windows, macOS, and Linux. You can learn more about the most important differences between IPv4 and IPv6 in this article.
However, service providers discourage users from disabling IPv6 and warn that it may cause connectivity problems. If you want to enable/disable IPv6, here’s how to do it on different devices.
How to enable/disable IPv6 on a router
Depending on your router’s brand, the steps to enable/disable IPv6 may vary. However, this general guide will explain how to do it:
- Log in to the web-based interface of your router.
- Go to “Advanced” settings and find “IPv6.”
- Disable or enable IPv6.
- Click “Save.”
How to enable/disable IPv6 on Windows 10
- Go to “Settings” > “Network & internet” > “Status.”
- Select “Change adapter options.”
- Right click on your active network adapter and select “Properties.”
- Uncheck the “Internet Protocol Version 6 (TCP/IPv6)” checkbox to disable IPv6.
- Click on “OK” to save the changes and then restart your PC.
How to enable/disable IPv6 on Windows 11
- Go to “Settings” > “Network & internet.”
- Scroll down and select “Advanced network settings.”
- Scroll down to the “Related settings” section and click on “More network adapter options.”
- In the window that opens, right-click on your active network and click “Properties.”
- Uncheck the “Internet Protocol Version 6 (TCP/IPv6)” checkbox to disable IPv6.
- Click on “OK” to save the changes and then restart your PC.
How to enable/disable IPv6 on macOS
- Go to “System settings” > “Network.”
- Select Wi-Fi and click “Details” next to your network.
- Click the “TCP/IP” tab.
- In the “Configure IPv6” drop-down menu, select “Link-local only.”
- Click “OK” and then restart your Mac.
How to enable/disable IPv6 on Linux
Here are the instructions for enabling/disabling IPv6 on a variety of Linux distributions:
- Log in with root privileges.
- Add these three lines to the /etc/sysctl.conf file:
- net.ipv6.conf.all.disable_ipv6 = 1
- net.ipv6.conf.default.disable_ipv6 = 1
- net.ipv6.conf.lo.disable_ipv6 = 1
- Save the file and reboot your computer with this command: “$ sudo reboot.”
Red-hat based distributions
If you are running a Red-hat based system, you can disable IPv6 by taking these steps:
- Open the terminal window.
- Change to the root user.
- Type these commands:
- sysctl -w net.ipv6.conf.all.disable_ipv6=1
- sysctl -w net.ipv6.conf.default.disable_ipv6=1
- sysctl -w net.ipv6.conf.tun0.disable_ipv6=1
- To re-enable IPv6, type these commands:
- sysctl -w net.ipv6.conf.all.disable_ipv6=0
- sysctl -w net.ipv6.conf.default.disable_ipv6=0
- sysctl -w net.ipv6.conf.tun0.disable_ipv6=0
- sysctl -p
Debian-based distributions
If you are running a Debian-based machine, follow these instructions to disable IPv6:
- Open the terminal window.
- Type this command:
- sudo nano /etc/sysctl.conf
- Add the following commands at the bottom 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.
- Reboot your device.
- To re-enable IPv6, remove the above lines from /etc/sysctl.conf and reboot your device.
How to enable/disable IPv6 on Android
Here are the instructions for enabling/disabling IPv6 on Android devices:
- Go to “Settings” and tap “Connections.”
- Tap “Mobile networks.”
- Select your access point.
- Tap the “APN protocol.”
- Select either IPv4 or IPv6, depending on which one you want to enable.
How to enable/disable IPv6 on iOS
Apple doesn’t allow you to disable IPv6 on your iPhone or iPad but you can do it on your router.
How to enable/disable IPv6 on Xbox One
You can’t disable IPv6 directly on your console. However, you can disable it on your router and use IPv4 if you prefer.
How to enable/disable IPv6 on Raspberry PI
- Log in with root privileges.
- Add these three lines to the /etc/sysctl.conf file:
- net.ipv6.conf.all.disable_ipv6 = 1
- net.ipv6.conf.default.disable_ipv6 = 1
- net.ipv6.conf.lo.disable_ipv6 = 1
- Save the file and reboot your computer with this command: “$ sudo reboot.”
Do VPNs support IPv6?
Most VPN providers don’t support IPv6 and rely on IPv4 instead. NordVPN disables IPv6 automatically, so you don’t need to do any configuration yourself. Even if your device uses IPv6, your traffic is still protected because it is redirected through an encrypted VPN tunnel and your IP address is hidden.
With one NordVPN account, you can protect up to 10 different devices: tablets, smartphones, laptops, and more. You can also configure NordVPN on your router and protect all gadgets connected to your network.
NordVPN allows you to encrypt your data on all devices, from smartphones to routers. And it doesn’t matter whether they support IPv4 or IPv6.