Skip to content

Instantly share code, notes, and snippets.

@amochkin
Created June 13, 2024 10:02
Show Gist options
  • Save amochkin/d567e216e8974a8734e152f9a8c249ce to your computer and use it in GitHub Desktop.
Save amochkin/d567e216e8974a8734e152f9a8c249ce to your computer and use it in GitHub Desktop.
Debian disable IPV6
#!/bin/sh
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment