Disable ipv6
I'm new here so please be gentle…
I'm setting up a cPanel DNS Only server. When I run the CSF firewall security check, I get a message that ipv6 seems to be enabled, and therefore I should implement a few measures for security (ip6tables, etc.).
However, I don't see a need to even use ipv6, and I am not sure it's even fully supported here. It seems to me that it might be easier just to disable it. Is this possible, and if so, how?
My Linode is CentOS 5.5 32-bit.
Thanks,
Mark
10 Replies
> Edit /etc/sysconfig/network and set "NETWORKING_IPV6" to "no"
On my Linode this line wasn't in /etc/sysconfig/network, as it is on other servers.
Should I just create it (set to "no" of course) and then follow the rest of the instructions?
Thanks.
Add these lines to /etc/sysctl.conf
disable ipv6
net.ipv6.conf.all.disable_ipv6=1
and run
sysctl -p /etc/sysctl.conf
Am I better off leaving it active and just using ip6tables? I'd really prefer not to have something active on my Linode if it isn't being used, but I wonder if this is the best way.
Not that I know of. I'm still new here so I'm not sure what goes on under the hood. But I just see the IPV4 address.
I've still heard that IPV6 should be deactivated if not in use…I'm no longer sure how true that is.
Thanks.
If ipv6 being enabled isn't causing you problems leave it alone.