mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-03 21:40:36 +07:00
fix: Don't enable net.ipv6.conf.all.forwarding (#496)
This commit is contained in:
parent
c1a7a64471
commit
89a0596727
@ -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 {
|
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)
|
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
|
// *_early_demux is not mandatory, but it's recommended to enable it for better performance
|
||||||
if err = netns.Set(ns.daeNs); err != nil {
|
if err = netns.Set(ns.daeNs); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user