Created
March 23, 2016 21:24
-
-
Save juliojsb/7519a65773e8a5448fed to your computer and use it in GitHub Desktop.
Disable IPv6 in Debian and derivative distros (like Ubuntu)
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
Put in /etc/sysctl.conf the following: | |
net.ipv6.conf.all.disable_ipv6 = 1 | |
net.ipv6.conf.default.disable_ipv6 = 1 | |
net.ipv6.conf.lo.disable_ipv6 = 1 | |
After that, reload config with: | |
sysctl -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment