How do I disable IPv6?

Redhat recommends not disabling the ipv6 module, as that can cause issues with SELinux and other components, but adding the following to /etc/sysctl.conf will disable IPv6.

net.ipv6.conf.all.disable_ipv6 = 1

Comments are closed.