mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6086] [CLOSED] feat(amneziawg): add amneziawg protocol via docker #6078
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6078
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6086
Author: @Petrprogs
Created: 7/23/2026
Status: ❌ Closed
Base:
main← Head:feat/amneziawg📝 Commits (5)
2d0aeb2feat: add AmneziaWG protocol support with Docker-based WireGuard sidecar7b0a766fix(amneziawg): remove dead code, fix fake key defaults, add tests940c78ddocs(readme): add AmneziaWG to supported protocols and note Docker requirementdbb80dbfix(protocols): merge new set of MULTI_USER_PROTOCOLS with amneziwgab4951cMerge branch 'main' into feat/amneziawg📊 Changes
48 files changed (+2167 additions, -16 deletions)
View changed files
📝
README.md(+3 -1)📝
frontend/public/openapi.json(+2 -1)📝
frontend/src/generated/schemas.ts(+2 -1)📝
frontend/src/generated/zod.ts(+1 -1)📝
frontend/src/lib/xray/inbound-defaults.ts(+46 -1)📝
frontend/src/lib/xray/inbound-form-adapter.ts(+2 -0)📝
frontend/src/lib/xray/protocol-capabilities.ts(+1 -1)📝
frontend/src/pages/clients/BulkAttachInboundsModal.tsx(+1 -1)📝
frontend/src/pages/clients/BulkDetachInboundsModal.tsx(+1 -1)📝
frontend/src/pages/clients/ClientBulkAddModal.tsx(+1 -1)📝
frontend/src/pages/clients/ClientFormModal.tsx(+1 -1)📝
frontend/src/pages/clients/ClientQrModal.tsx(+22 -2)➕
frontend/src/pages/clients/amneziawgConfig.ts(+57 -0)📝
frontend/src/pages/inbounds/form/InboundFormModal.tsx(+6 -2)➕
frontend/src/pages/inbounds/form/protocols/amneziawg.tsx(+91 -0)📝
frontend/src/pages/inbounds/form/protocols/index.ts(+1 -0)📝
frontend/src/schemas/client.ts(+20 -0)📝
frontend/src/schemas/primitives/protocol.ts(+2 -0)➕
frontend/src/schemas/protocols/inbound/amneziawg.ts(+49 -0)📝
frontend/src/schemas/protocols/inbound/index.ts(+3 -0)...and 28 more files
📄 Description
Summary
Add AmneziaWG (AWG) protocol support using a Docker-based WireGuard sidecar, with full panel management, config generation, and client lifecycle.
Why
AmneziaWG extends WireGuard with packet obfuscation (junk packets, random padding, magic headers) to bypass DPI. This implementation runs AWG as a Docker sidecar outside Xray, one container per inbound, with hot-add/remove of peers and real Curve25519 key generation.
Type of change
Areas affected
How was this tested?
New tests (22):
Manual verification:
Screenshots / recordings
Breaking changes
None. New protocol addition; existing inbounds and configs unaffected.
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.