IPv6: Difference between revisions

From wiki
Jump to navigation Jump to search
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..."
 
No edit summary
Line 1: Line 1:
Disable ipV6 on a system.
 
;https://test-ipv6.com/
;https://ipv6-test.com/
:Check your IPv6 configuration
 
==Disable IPv6 on a system==


At the end of <code>/etc/sysctl.conf</code> add:
At the end of <code>/etc/sysctl.conf</code> add:

Revision as of 07:27, 5 April 2020

https://test-ipv6.com/
https://ipv6-test.com/
Check your IPv6 configuration

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