Skip to content

Commit

Permalink
fix: Don't enable net.ipv6.conf.all.forwarding (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 authored Apr 12, 2024
1 parent c1a7a64 commit 89a0596
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions control/netns_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 89a0596

Please sign in to comment.