From dcfaa1e9873849594ffde1bf18cc389e68943d7b Mon Sep 17 00:00:00 2001 From: Gray Liang Date: Sun, 14 Apr 2024 23:10:12 +0800 Subject: [PATCH] Set net.ipv6.conf.all.forwarding=1 for lan only --- control/control_plane_core.go | 1 + 1 file changed, 1 insertion(+) diff --git a/control/control_plane_core.go b/control/control_plane_core.go index ab84170c41..a7a6d9c34e 100644 --- a/control/control_plane_core.go +++ b/control/control_plane_core.go @@ -247,6 +247,7 @@ func (c *controlPlaneCore) bindLan(ifname string, autoConfigKernelParameter bool if autoConfigKernelParameter { SetSendRedirects(ifname, "0") SetForwarding(ifname, "1") + SetForwarding("all", "1") } if err := c._bindLan(ifname); err != nil { var notFoundErr netlink.LinkNotFoundError