Created
May 3, 2022 14:03
-
-
Save ranrubin/647fdda65df479d7cd2797568a2f6e44 to your computer and use it in GitHub Desktop.
disabled IPv6, and allowed IPv4 forwarding.
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
echo 'net.ipv6.conf.all.disable_ipv6=1' | sudo tee -a /etc/apt/sources.list /etc/sysctl.conf | |
echo 'net.ipv6.conf.default.disable_ipv6=1' | sudo tee -a /etc/sysctl.conf | |
echo 'net.ipv6.conf.lo.disable_ipv6=1' | sudo tee -a /etc/sysctl.conf | |
echo 'net.ipv4.ip_forward=1' | sudo tee -a /etc/sysctl.conf | |
sudo sysctl -p /etc/sysctl.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment