From a47b73462562627da805c9a577de459cf9c52f31 Mon Sep 17 00:00:00 2001 From: fengbojiang Date: Tue, 14 Feb 2023 17:09:00 +0800 Subject: [PATCH] Fix the issue that setting `net.inet6.ip6.forwarding=1` does not take effect. --- config.ini | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.ini b/config.ini index 2003e9b33..85986291b 100644 --- a/config.ini +++ b/config.ini @@ -179,10 +179,6 @@ net.inet.tcp.tcbhashsize=65536 kern.ncallout=262144 kern.features.inet6=1 -net.inet6.ip6.auto_linklocal=1 -net.inet6.ip6.accept_rtadv=2 -net.inet6.icmp6.rediraccept=1 -net.inet6.ip6.forwarding=0 [freebsd.sysctl] kern.ipc.somaxconn=32768 @@ -211,6 +207,11 @@ net.inet.udp.blackhole=1 net.inet.ip.redirect=0 net.inet.ip.forwarding=0 +net.inet6.ip6.auto_linklocal=1 +net.inet6.ip6.accept_rtadv=2 +net.inet6.icmp6.rediraccept=1 +net.inet6.ip6.forwarding=0 + # set default stacks:freebsd, rack or bbr, may be you need increase the value of parameter 'freebsd.boot.hz' while use rack or bbr. net.inet.tcp.functions_default=freebsd # need by bbr, should enable it.