Last active
May 31, 2017 16:32
-
-
Save BradTotaro/1c93e2f9fb1199449b2bcd6e71f09367 to your computer and use it in GitHub Desktop.
Debian 8 Disable IPV6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sysctl -w net.ipv6.conf.all.disable_ipv6=1 | |
sysctl -w net.ipv6.conf.default.disable_ipv6=1 | |
#or | |
sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6' | |
# permanent | |
echo 'blacklist ipv6' >> /etc/modprobe.d/blacklist | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment