netbird: update to 0.66.2 (breaking change)#28721
Merged
wehagy merged 3 commits intoMar 10, 2026
Merged
Conversation
Add `NB_DNS_STATE_FILE="/var/lib/netbird/state.json"` to the init environment. This moves the state from the directory `/root/.config/netbird` to the file `/var/lib/netbird/state.json` to avoid storage wear. Note: the file is not preserved across reboots. The state file contains information such as locally disabled routes and other data primarily useful for desktop clients. In OpenWrt setups, these changes are normally handled by the NetBird `management` server. This matches the behavior prior to `netbird` v0.52.x, I have not received any reports that this file caused problems before, so it is unlikely to cause issues now. The previous state file `/root/.config/netbird/state.json` can be removed. Signed-off-by: Wesley Gimenes <wehagy@proton.me> (cherry picked from commit 696c2b6)
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.61.2 The second release of `netbird` that introduces a breaking change[1]. A backport will be provided for OpenWrt 25.12 but not for OpenWrt 24.10, since OpenWrt 25.12 has not been released yet. NetBird adds **fine-grained SSH access control**[2]. Self-hosters must update both the `management` and `dashboard`[3]. [1]: https://forum.netbird.io/t/upcoming-breaking-changes-to-netbird-ssh/401 [2]: https://docs.netbird.io/manage/peers/ssh#fine-grained-access-control [3]: https://docs.netbird.io/manage/peers/ssh#v0-61-0 Signed-off-by: Wesley Gimenes <wehagy@proton.me> (cherry picked from commit 291dacc)
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.66.2 NetBird `v0.66.x` adds support for exposing a local HTTP service from the CLI with the `netbird expose`[1] command, but only for self-hosted deployments. Cloud support is coming. [1]: https://docs.netbird.io/manage/reverse-proxy/expose-from-cli --- `0.65.x` highlights Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.65.3 NetBird `v0.65.x` now includes a built-in reverse proxy[1], but only for self-hosted deployments and is currently in beta. Cloud support is coming soon. Important: pre-shared keys or Rosenpass are currently incompatible with the reverse proxy feature. [1]: https://docs.netbird.io/manage/reverse-proxy --- `v0.63.x` highlights Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.63.0 NetBird now supports private DNS zones[1]. [1]: https://docs.netbird.io/manage/dns/custom-zones --- `v0.62.x` highlights Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.62.3 Upstream minimum Go requirement raised from `v1.24.x` to `v1.25.x`, see the go.mod[1]. [1]: https://github.com/netbirdio/netbird/blob/v0.62.3/go.mod#L3-L5 --- Building `netbird` with Go 1.26.x fails with errors: ``` [...] /builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go126.go:22:2: WaitReasonSelect redeclared in this block /builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go125.go:22:2: other declaration of WaitReasonSelect /builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go126.go:23:2: WaitReasonChanReceive redeclared in this block /builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go125.go:23:2: other declaration of WaitReasonChanReceive /builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go126.go:24:2: WaitReasonSemacquire redeclared in this block /builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go125.go:24:2: other declaration of WaitReasonSemacquire [...] ``` Upstream Issue: netbirdio/netbird#5290 Upstream PR: netbirdio/netbird#5447 Signed-off-by: Wesley Gimenes <wehagy@proton.me> (cherry picked from commit df6533b)
Member
Author
|
Thanks for the reminder, but I'm trying to forget the prefix. Old habits die hard, and thanks to George, after the bot runs this will be automatically tagged. |
Contributor
|
Totally missed it but yes working in 25.12 so it looks good to go. Will you make the announcement in the support thread ? Otherwise I can do it 🙂 |
Member
Author
|
@egc112, thanks for confirming it works. I made the announcement: https://forum.openwrt.org/t/netbird-support-discussion-thread/237831/62?u=wehagy. Feel free to add anything if I missed something 😉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📦 Package Details
Maintainer: me
(You can find this by checking the history of the package
Makefile.)Description:
Backport of PR for 25.12:
🧪 Run Testing Details
@egc112, can you please confirm it's working in OpenWrt 25.12? #28721 (comment)
✅ Formalities
If your PR contains a patch:
git am(e.g., subject line, commit description, etc.)
We must try to upstream patches to reduce maintenance burden.