Thursday, May 14, 2009

Debian Lenny: How to disable ipv6

If you use good old IPv4 instead of IPv6 for your network connection and dont wanna play with iptables6 or leave ipv6 wide open, you should disable IPv6. In /etc/modprobe.d/aliases add two lines after the commented out line:
# alias net-pf-10 ipv6
alias net-pf-10 off
alias ipv6 off

You can safely wipe out any IPv6 reference in /etc/hosts and /etc/network/interfaces

Thanks to this article.

No comments:

Post a Comment