Sam's Tech Blog

You can check out any time you like, But you can never leave!'

2019-08-21

Linux - Disable IPv6

How to: Disable IPv6 - terminal command

Linux - Disable IPv6

Disable IPv6 on Linux

sysctl -w net.ipv6.conf.all.disable_ipv6=1

Enable IPv6 on Linux

sysctl -w net.ipv6.conf.all.disable_ipv6=0