I'm setting up a CentOS server and I have no intention to use IPv6 on it by now. Because of this, I have a few simple questions:

  • Is there any problem in blocking all IPv6 traffic on this machine (in and out)?
  • If not, how can I accomplish it?

Thanks,

link|improve this question
You can, but you shouldn't. Dupe of serverfault.com/questions/60481/… anyway. – womble Jul 27 '11 at 23:10
Correct me if I'm wrong, but if you don't have an IPv6 upstream IPv6 traffic is not going to be going out your connection regardless. – Jeremy Bouse Aug 22 '11 at 2:31
Without additional work you probably don't have a global IPv6 routable address so the issue is moot. – Steve-o Aug 25 '11 at 3:30
feedback

2 Answers

I don't think I'd block it; I think I would just disable the ipv6 stack.

http://www.vincentverhagen.nl/2007/06/22/disable-ipv6-on-red-hat/

link|improve this answer
feedback

you can either disable it in the config scripts or use sysctl net.ipv6.conf.all.disable_ipv6=1 to totally turn it off in the kernel.

Nonetheless... if you won't actually have IPv6 connectivity, I would argue it's not worth the effort.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.