Saturday, 23 April 2016

How to disable IPv6 ?


1. Open terminal and switch to root
$ sudo sh

2. Login with root and edit the file sysctl.conf
# sudo gedit /etc/sysctl.conf
OR
# vi /etc/sysctl.conf

3. Append lines at the end of file
# Disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

 
4. Reboot system
# reboot

No comments:

Post a Comment

Note: only a member of this blog may post a comment.