[GH-ISSUE #1562] NB_{WIREGUARD_PORT,INTERFACE_NAME} is not supported by anything except netbird up #2663

Open
opened 2026-08-05 00:48:17 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @nazarewk on GitHub (Feb 12, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1562

Describe the problem

I am configuring wireguard interface/port using environment variables, but they do not get updated unless I run netbird up separately.

To Reproduce

Steps to reproduce the behavior:

  1. run netbird for the first time
  2. set Environment=NB_WIREGUARD_PORT=12345
  3. restart netbird.service
  4. netbird still runs on port 51820
  5. run netbird down
  6. run NB_WIREGUARD_PORT=12345 netbird up

Expected behavior

Netbrid starts on port 12345 with just systemd service change, not requiring separate down and up commands.

Are you using NetBird Cloud?

Yes

NetBird version

0.25.6

Additional context

Discovered while developing https://github.com/NixOS/nixpkgs/pull/287236

Originally created by @nazarewk on GitHub (Feb 12, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1562 **Describe the problem** I am configuring wireguard interface/port using environment variables, but they do not get updated unless I run `netbird up` separately. **To Reproduce** Steps to reproduce the behavior: 1. run netbird for the first time 2. set `Environment=NB_WIREGUARD_PORT=12345` 3. restart `netbird.service` 4. netbird still runs on port `51820` 5. run `netbird down` 6. run `NB_WIREGUARD_PORT=12345 netbird up` **Expected behavior** Netbrid starts on port `12345` with just systemd service change, not requiring separate `down` and `up` commands. **Are you using NetBird Cloud?** Yes **NetBird version** `0.25.6` **Additional context** Discovered while developing https://github.com/NixOS/nixpkgs/pull/287236
saavagebueno added the feature-requestclient labels 2026-08-05 00:48:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2663