sysctl -w net.ipv6.conf.all.disable_ipv6=1
If you don’t have this in your sysctl.cnf after reboot IPv6 will be enabled again.
sysctl -w net.ipv6.conf.all.disable_ipv6=1
If you don’t have this in your sysctl.cnf after reboot IPv6 will be enabled again.