Disable IPv6 – CentOS 7

Disabling IPv6 on CentOS 7 is pretty straight forward.

You should make sure you aren’t running anything that’s using your IPv6 address.

Add the following line inside the config at /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1

To apply this change issue the following at shell:

sysctl -p

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.