From 081fc58bd260aa0eea4727b07a24c0338045e7b8 Mon Sep 17 00:00:00 2001 From: mzz <2017@duck.com> Date: Wed, 22 Mar 2023 00:32:09 +0800 Subject: [PATCH] docs: add ip_forward recommendation --- docs/getting-started/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md index 07e0723..4d02a7c 100644 --- a/docs/getting-started/README.md +++ b/docs/getting-started/README.md @@ -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 @@ -181,4 +187,4 @@ If you use PVE, refer to [#37](https://github.com/daeuniverse/dae/discussions/37 ### Troubleshooting -See [Troubleshooting](troubleshooting.md). \ No newline at end of file +See [Troubleshooting](troubleshooting.md).