Skip to content

Instantly share code, notes, and snippets.

@luisfcorreia
Created April 9, 2016 19:55
Show Gist options
  • Save luisfcorreia/131b8d349bc0d466c309014d0f306cf5 to your computer and use it in GitHub Desktop.
Save luisfcorreia/131b8d349bc0d466c309014d0f306cf5 to your computer and use it in GitHub Desktop.

vim /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Then, save and activate the configuraiton.

sysctl -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment