Disable IPv6 on Debian VPS

Posted by chris_l on Server Fault See other posts from Server Fault or by chris_l
Published on 2010-04-10T17:24:37Z Indexed on 2010/04/10 17:33 UTC
Read the original article Hit count: 196

Filed under:
|
|

I have a Debian Lenny VPS, that's running virtualized by Parallels/Virtuozzo. Currently, the network interface doesn't have an IPv6 address - and that's good, because I don't have an ip6tables configuration.

But I assume, that I could wake up one day, and ifconfig will show me an ipv6 address for the interface - because I have no control over the kernel or its modules - they're under the control of the hosting company. That would leave the server completely vulnerable to attacks from IPv6 addresses.

What would be the best way to disable IPv6 (for the interface or maybe for the entire host)? Usually I would simply disable the kernel module, but that's not possible in this case.

© Server Fault or respective owner

Related posts about IPv6

Related posts about debian