From b833ab3f2a21864e598d55f399eda215c3771d9c Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 12 Feb 2022 11:16:10 +0100 Subject: [PATCH] add disable ipv6 --- IT/linux/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IT/linux/index.md b/IT/linux/index.md index dda2271..89ece23 100644 --- a/IT/linux/index.md +++ b/IT/linux/index.md @@ -50,3 +50,8 @@ Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; / systemd.unit=emergency.target 5. press ctrl+x 6. put root writable with `mount -o rw,remount /` + +## disable IPV6 + +`sysctl -b net.ipv6.conf.all.disable_ipv6=1` +