fix(client): remove NB_ENABLE_NETSTACK_LOCAL_FORWARDING default

In netstack mode with local forwarding enabled, ICMP packets get
replied to by both the gVisor netstack and the native OS (via the
forwarder), causing duplicate ping responses. Local forwarding is
only needed when remote peers must reach host-local services, so
it should not be on by default.
This commit is contained in:
Ashley Mensah
2026-04-30 12:45:16 +02:00
parent dbd0142b1e
commit 76838e9170

View File

@@ -176,7 +176,6 @@ Wants=network-online.target
[Service]
Type=simple
Environment=NB_USE_NETSTACK_MODE=true
Environment=NB_ENABLE_NETSTACK_LOCAL_FORWARDING=true
Environment=NB_CONFIG=${CONFIG_DIR}/config.json
Environment=NB_STATE_DIR=${STATE_DIR}
Environment=NB_DAEMON_ADDR=unix://${STATE_DIR}/netbird.sock