linux:ipv6
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:ipv6 [2023/03/17 13:34] – Wuff | linux:ipv6 [2026/08/07 11:41] (current) – [System wide] Wuff | ||
|---|---|---|---|
| Line 84: | Line 84: | ||
| < | < | ||
| - | echo "# Disable IPv6" >> / | + | cat > /etc/sysctl.d/ |
| - | echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf | + | # Disable IPv6 |
| - | echo "#" | + | net.ipv6.conf.all.disable_ipv6 = 1 |
| - | sysctl -p | + | net.ipv6.conf.default.disable_ipv6 = 1 |
| + | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
| + | EOD | ||
| + | sysctl --system | ||
| </ | </ | ||
linux/ipv6.txt · Last modified: by Wuff