fix: auto_config_kernel_parameter sets net.ipv6.conf.all.forwarding=1 when binding lan interfaces (#499)

Co-authored-by: Sumire (菫) <151038614+sumire88@users.noreply.github.com>
Co-authored-by: dae-prow[bot] <136105375+dae-prow[bot]@users.noreply.github.com>
This commit is contained in:
/gray
2024-04-15 08:17:14 +08:00
committed by GitHub
parent 21f62039c5
commit c091694b14
2 changed files with 3 additions and 1 deletions

View File

@ -18,10 +18,11 @@ EOF
sudo sysctl --system
```
It is also recommended to enable IPv4 forward to avoid weird situations:
It is also recommended to enable IPv4 and IPv6 forward to avoid weird situations:
```shell
echo "net.ipv4.ip_forward = 1" | sudo tee /etc/sysctl.d/60-ip-forward.conf
echo "net.ipv6.conf.all.forwarding = 1" | sudo tee /etc/sysctl.d/60-ip-forward.conf
sudo sysctl --system
```