Created
May 26, 2021 09:50
-
-
Save phlinhng/0b02a27248790aa904f28b9f991f06bc to your computer and use it in GitHub Desktop.
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
sysctl -w "net.ipv6.conf.enp0s31f6.disable_ipv6=1" # change enp0s1f6 to your main interface i.e. eth0 | |
echo "net.ipv6.conf.enp0s31f6.disable_ipv6=1" >> /etc/sysctl.conf # save sysctl conf | |
echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf # disable ipv6 dns record |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment