Skip to content

Instantly share code, notes, and snippets.

@BradTotaro
Last active May 31, 2017 16:32
Show Gist options
  • Save BradTotaro/1c93e2f9fb1199449b2bcd6e71f09367 to your computer and use it in GitHub Desktop.
Save BradTotaro/1c93e2f9fb1199449b2bcd6e71f09367 to your computer and use it in GitHub Desktop.
Debian 8 Disable IPV6
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