IPv6

From wiki
Revision as of 15:30, 11 May 2019 by Hdridder (talk | contribs) (Created page with "Disable ipV6 on a system. At the end of <code>/etc/sysctl.conf</code> add: <syntaxhighlight lang=bash> net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Disable ipV6 on a system.

At the end of /etc/sysctl.conf add:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
sysctl -p
Force reload of the kernel parameters as in /etc/sysctl.conf
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
Check if IPv6 has been disabled, then the file as 1, else 0