[PR #38] Add AmneziaWG 2.0 protocol support #38

Open
opened 2026-10-13 21:05:21 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-openwrt/pull/38
Author: @pekishev
Created: 7/31/2026
Status: 🔄 Open

Base: master ← Head: codex/awg-v2-support


📝 Commits (1)

  • 7896b7d Add AmneziaWG 2.0 protocol support

📊 Changes

7 files changed (+199 additions, -894 deletions)

View changed files

📝 amneziawg-tools/Makefile (+4 -4)
📝 amneziawg-tools/files/amneziawg.sh (+46 -4)
📝 kmod-amneziawg/Makefile (+16 -13)
➖ kmod-amneziawg/files/000-initial-amneziawg.patch (+0 -833)
➖ kmod-amneziawg/src/Makefile (+0 -20)
📝 luci-proto-amneziawg/Makefile (+4 -2)
📝 luci-proto-amneziawg/htdocs/luci-static/resources/protocol/amneziawg.js (+129 -18)

📄 Description

Summary

  • update amneziawg-tools to 1.0.20260618-2 and the kernel module to 1.0.20260611
  • add netifd and LuCI support for the AWG 2.0 S3, S4, and I1-I5 parameters
  • accept AWG 2.0 ranges in H1-H4 and preserve all AWG parameters during config import/export
  • include AWG parameters in generated peer configs
  • replace the vendored legacy kernel patch with the upstream AWG 2.0 module source

Validation

  • git diff --check
  • node --check luci-proto-amneziawg/htdocs/luci-static/resources/protocol/amneziawg.js
  • sh -n amneziawg-tools/files/amneziawg.sh

A complete OpenWrt SDK build has not been run yet, so this PR is opened as a draft.

Prior work

This is based on the AWG 2.0 packaging work from Slava-Shchipunov/awg-openwrt#51 and includes the config import variable fix proposed in #28. Both authors are credited in the commit trailers.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-openwrt/pull/38 **Author:** [@pekishev](https://github.com/pekishev) **Created:** 7/31/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `codex/awg-v2-support` --- ### 📝 Commits (1) - [`7896b7d`](https://github.com/amnezia-vpn/amneziawg-openwrt/commit/7896b7da21704757b274495614dfdb0d835e7891) Add AmneziaWG 2.0 protocol support ### 📊 Changes **7 files changed** (+199 additions, -894 deletions) <details> <summary>View changed files</summary> 📝 `amneziawg-tools/Makefile` (+4 -4) 📝 `amneziawg-tools/files/amneziawg.sh` (+46 -4) 📝 `kmod-amneziawg/Makefile` (+16 -13) ➖ `kmod-amneziawg/files/000-initial-amneziawg.patch` (+0 -833) ➖ `kmod-amneziawg/src/Makefile` (+0 -20) 📝 `luci-proto-amneziawg/Makefile` (+4 -2) 📝 `luci-proto-amneziawg/htdocs/luci-static/resources/protocol/amneziawg.js` (+129 -18) </details> ### 📄 Description ## Summary - update amneziawg-tools to 1.0.20260618-2 and the kernel module to 1.0.20260611 - add netifd and LuCI support for the AWG 2.0 S3, S4, and I1-I5 parameters - accept AWG 2.0 ranges in H1-H4 and preserve all AWG parameters during config import/export - include AWG parameters in generated peer configs - replace the vendored legacy kernel patch with the upstream AWG 2.0 module source ## Validation - git diff --check - node --check luci-proto-amneziawg/htdocs/luci-static/resources/protocol/amneziawg.js - sh -n amneziawg-tools/files/amneziawg.sh A complete OpenWrt SDK build has not been run yet, so this PR is opened as a draft. ## Prior work This is based on the AWG 2.0 packaging work from Slava-Shchipunov/awg-openwrt#51 and includes the config import variable fix proposed in #28. Both authors are credited in the commit trailers. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-openwrt#38
No description provided.