Skip to content

Commit a47b734

Browse files
committed
Fix the issue that setting net.inet6.ip6.forwarding=1 does not take effect.
1 parent e592cbb commit a47b734

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

config.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,6 @@ net.inet.tcp.tcbhashsize=65536
179179
kern.ncallout=262144
180180

181181
kern.features.inet6=1
182-
net.inet6.ip6.auto_linklocal=1
183-
net.inet6.ip6.accept_rtadv=2
184-
net.inet6.icmp6.rediraccept=1
185-
net.inet6.ip6.forwarding=0
186182

187183
[freebsd.sysctl]
188184
kern.ipc.somaxconn=32768
@@ -211,6 +207,11 @@ net.inet.udp.blackhole=1
211207
net.inet.ip.redirect=0
212208
net.inet.ip.forwarding=0
213209

210+
net.inet6.ip6.auto_linklocal=1
211+
net.inet6.ip6.accept_rtadv=2
212+
net.inet6.icmp6.rediraccept=1
213+
net.inet6.ip6.forwarding=0
214+
214215
# set default stacks:freebsd, rack or bbr, may be you need increase the value of parameter 'freebsd.boot.hz' while use rack or bbr.
215216
net.inet.tcp.functions_default=freebsd
216217
# need by bbr, should enable it.

0 commit comments

Comments
 (0)