[PR #4655] AmneziaWG support #4351

Open
opened 2025-11-20 08:08:13 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/4655

State: open
Merged: No


Describe your changes

Replaced standard Wireguard implementation with AmneziaWG.
It's backward compatible with standard implementation if none of settings are set so it shouldn't break outdated clients.

I used management as a place to setup settings and pass it to every peer.
There are some issues with kernel wireguard implementation so I still looking forward for better solution if there is any.

In order to merge this we also need to:

  1. Create repository https://github.com/spikeyspik/amneziawg-go
  2. Create repository https://github.com/spikeyspik/amneziawg-windows
  3. Refactor changes to use new repositories as dependency
    These repositories contain same fixes as yours, but based on amneziawg implementation instead of standard.

1096

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

454

**Original Pull Request:** https://github.com/netbirdio/netbird/pull/4655 **State:** open **Merged:** No --- ## Describe your changes Replaced standard Wireguard implementation with AmneziaWG. It's backward compatible with standard implementation if none of settings are set so it shouldn't break outdated clients. I used management as a place to setup settings and pass it to every peer. There are some issues with kernel wireguard implementation so I still looking forward for better solution if there is any. In order to merge this we also need to: 1. Create repository https://github.com/spikeyspik/amneziawg-go 2. Create repository https://github.com/spikeyspik/amneziawg-windows 3. Refactor changes to use new repositories as dependency These repositories contain same fixes as yours, but based on amneziawg implementation instead of standard. [1096](https://github.com/netbirdio/netbird/issues/1096) ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [x] I added/updated documentation for this change - [ ] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) [454](https://github.com/netbirdio/docs/pull/454)
saavagebueno added the pull-request label 2025-11-20 08:08:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#4351