Difference between revisions of "IPv6: Disable IPV6 di ubuntu"

From OnnoWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
  
 
+
  sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
  1 Open Terminal.
+
  sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
2 Enter gksudo gedit /etc/sysctl.conf. ...
+
  sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
  3 After that run $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6. ...
 
  4 Type command sudo sysctl -p. ...
 
5 Repeat above “Step 3” and it will now report 1.
 

Latest revision as of 10:19, 22 September 2021

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