mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
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#5787
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/5131
Author: @rqzbeh
Created: 6/9/2026
Status: ✅ Merged
Merged: 6/10/2026
Merged by: @MHSanaei
Base:
main← Head:feat/wireguard-xray-latest📝 Commits (6)
6f6d7d1feat: support latest Wireguard features from Xray-coreee7227bMerge branch 'main' into feat/wireguard-xray-latest171f3aeMerge branch 'main' into feat/wireguard-xray-latestb6e54d3Merge branch 'main' into feat/wireguard-xray-latestd1b42d8Merge branch 'main' into feat/wireguard-xray-latest33b98defix📊 Changes
8 files changed (+120 additions, -33 deletions)
View changed files
📝
frontend/src/lib/xray/forms/transport/FinalMaskForm.tsx(+41 -8)📝
frontend/src/lib/xray/protocol-capabilities.ts(+1 -1)📝
frontend/src/pages/inbounds/form/InboundFormModal.tsx(+17 -4)📝
frontend/src/pages/inbounds/form/protocols/wireguard.tsx(+16 -1)📝
frontend/src/pages/xray/outbounds/OutboundFormModal.tsx(+9 -2)📝
frontend/src/schemas/protocols/inbound/wireguard.ts(+19 -2)📝
frontend/src/test/__snapshots__/protocol-capabilities.test.ts.snap(+14 -14)📝
internal/web/service/inbound.go(+3 -1)📄 Description
��### Summary
Brings the panel's Wireguard inbound schema and UI up to parity with the latest Xray-core features, specifically enabling UDP/TCP masking (inalmask), UDP full-cone NAT (domainStrategy), and randomized UDP port intervals (
andRange).
Why
Xray-core has recently introduced several powerful capabilities for Wireguard that the panel could not configure:
andRange inside
oise UDP obfuscation settings.
This PR upgrades the Zod schemas and the React UI components to expose these features seamlessly so panel administrators can take advantage of the latest obfuscation features natively. (Note: Shadowsocks already fully supports the Stream tab, so the
andRange noise feature works for it out-of-the-box with this PR).
Type of change
Areas affected
How was this tested?
pm run typecheck and
pm run lint.
andRange property is properly collected when generating the
oise Finalmask envelope.
Screenshots / recordings
None
Breaking changes
None
Checklist
pm run lint,
pm run typecheck, and
pm run build pass.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.