Debian disable ipv6

  • Open a terminal window.
  • Issue the command sudo nano /etc/sysctl.conf
  • 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
  • Save and close the file.
  • Reboot the machine.
Please follow and like us:
Content Protection by DMCA.com