mirror of
https://github.com/amnezia-vpn/amnezia-xray-core.git
synced 2026-12-03 17:54:19 +07:00
[PR #30] feat(wireguard): wire up AmneziaWG 3.1 outbound configuration and UAPI support #30
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amnezia-xray-core#30
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/amnezia-vpn/amnezia-xray-core/pull/30
Author: @Gallbladderz
Created: 11/5/2026
Status: 🔄 Open
Base:
master← Head:feat/amneziawg-3.1📝 Commits (1)
b6e423ffeat(wireguard): wire up AmneziaWG 3.1 outbound configuration and UAPI support📊 Changes
8 files changed (+265 additions, -91 deletions)
View changed files
📝
go.mod(+1 -1)📝
go.sum(+2 -2)📝
infra/conf/wireguard.go(+128 -14)📝
proxy/wireguard/bind.go(+3 -2)📝
proxy/wireguard/client.go(+61 -47)📝
proxy/wireguard/config.go(+29 -0)📝
proxy/wireguard/config.pb.go(+39 -24)📝
proxy/wireguard/config.proto(+2 -1)📄 Description
Right now amneziawg-go/v3 is already in go.mod, but the JSON config parser, protobuf definitions, and UAPI builder don't actually expose or pass any of the AWG options.
I bumped amneziawg-go/v3 to v3.1.20260828 and wired up the AWG 3.1 options (jc/jmin/jmax, s1-s4, h1-h4, i1-i5, header_protection_key, padding, timeouts, etc.) into the JSON config and protobufs so client outbounds work properly out of the box (tested with v2rayNG).
Also fixed two things that broke AWG in practice:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.