docs: add ip_forward recommendation

This commit is contained in:
mzz
2023-03-22 00:32:09 +08:00
committed by GitHub
parent 754691798d
commit 081fc58bd2

View File

@ -69,6 +69,12 @@ EOF
sudo sysctl --system
```
It is also recommended to enable IPv4 forward to avoid weird situations:
```shell
echo "net.ipv4.ip_forward = 1" | sudo tee /etc/sysctl.d/60-ip-foward.conf
sudo sysctl --system
```
Please modify `docker0` to your LAN interface.
## Installation