Disable IPv6 on Interface in Debian Wheezy?
Solution 1:
According to this answer, the following in /etc/sysctl.conf
should disable IPv6 on all interfaces :
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Edit: for only one interface, the following should do the trick (replace <interface>
with the interface's name) :
net.ipv6.conf.<interface>.disable_ipv6 = 1