Skip to content

Instantly share code, notes, and snippets.

@albertomm
Created September 7, 2018 08:03
Show Gist options
  • Save albertomm/a6eaa9ddcb6f7650dba8324ad4db80ac to your computer and use it in GitHub Desktop.
Save albertomm/a6eaa9ddcb6f7650dba8324ad4db80ac to your computer and use it in GitHub Desktop.
#!/bin/bash
echo net.ipv6.conf.all.disable_ipv6 = 1 | sudo tee /etc/sysctl.d/99-disable-ipv6.conf
sudo sysctl --system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment