ubuntu disabling IPV6 1

ubuntu disabling IPV6

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

Here is what the above code is Doing:
1. We’re disabling IPv6 on all interfaces.
2. We’re disabling IPv6 on the default interface.
3. We’re disabling IPv6 on the loopback interface.

Similar Posts