From 89a0596727e6aebe790bcb487c5a6e5ccf080062 Mon Sep 17 00:00:00 2001 From: /gray Date: Fri, 12 Apr 2024 19:35:02 +0800 Subject: [PATCH] fix: Don't enable net.ipv6.conf.all.forwarding (#496) --- control/netns_utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/control/netns_utils.go b/control/netns_utils.go index 5fbaf64d9..36a0c97bf 100644 --- a/control/netns_utils.go +++ b/control/netns_utils.go @@ -288,8 +288,6 @@ func (ns *DaeNetns) setupSysctl() (err error) { if err = sysctl.Set(fmt.Sprintf("net.ipv6.conf.%s.forwarding", HostVethName), "1", true); err != nil { return fmt.Errorf("failed to set forwarding for dae0: %v", err) } - // sysctl net.ipv6.conf.all.forwarding=1 - SetForwarding("all", "1") // *_early_demux is not mandatory, but it's recommended to enable it for better performance if err = netns.Set(ns.daeNs); err != nil {