How do I disable IPv6 on Linux?

Tagged: 

This topic was published by and viewed 1772 times since "". The last page revision was "".

Viewing 1 post (of 1 total)
  • Author
    Posts

  • DevynCJohnson
    Keymaster
    • Topics - 437
    • @devyncjohnson

    To disable IPv6 on Linux, open /etc/sysctl.conf and ensure that it contains the below listed lines with a value of "1".

    [no-highlight]net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1[/no-highlight]

    Next, run "sysctl -p" in a terminal with Root privileges. That command will refresh the settings without needing a reboot or logout.

Viewing 1 post (of 1 total)