How do I disable IPv6 on Linux?

Tagged: 

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

Viewing 1 post (of 1 total)
  • Author
    Posts
  • DevynCJohnson
    DevynCJohnson
    Keymaster
    • Topics - 444
    • @devyncjohnson

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

    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1

    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)