Jump to content
Bicrypto Mobile - Mobile App for Bicrypto 3.2.1 ×
Bicrypto v4.5.6 + All Plugins ×

Recommended Posts

Posted

While both internet service providers and IT experts caution users against disabling IPv6 on Linux devices permanently, it’s OK to turn the protocol off temporarily when troubleshooting network issues. In this article, we will teach you how to disable IPv6 on your Linux device.

Red Hat-based distributions

Here's how to disable IPv6 on Linux if you’re running a Red Hat-based system:

  1. Open the terminal window.
  2. Change to the root user.
  3. 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
     
  4. 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

Here's how to disable IPv6 on Linux if you’re running a Debian-based machine.

  1. Open the terminal window.
  2. Type this command:

    sudo nano /etc/sysctl.conf
     
  3. Add the following 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
     
  4. Save and close the file.
  5. Reboot your device.
  6. To re-enable IPv6, remove the above lines from /etc/sysctl.conf and reboot your device.

Vi Veri Veniversum Vivus Vici

BuymeTea.png.682ebddb627d410dac9312fed1d74f8c.png

I am not a tech support or a script consultant! I am a network engineer and system administrator! In my free time I crack software and publish it on this site!

If you need help installing any software from this site or any other - write to @Guy Fawkes - we will agree for a modest reward!

If you want the same site - the price is 100 euros, including hosting for 1 year! (you will publish the content yourself), I will only install and configure everything. I will also help with payment systems for Europe!

guinness

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
Visa  MasterCard  Maestro  American Express  PayPal  NOWPayments СБП  МИР