mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5620] [CLOSED] Fix WireGuard client binding in client manager #5933
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#5933
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/5620
Author: @fastnas2023
Created: 6/27/2026
Status: ❌ Closed
Base:
main← Head:fix/wireguard-client-binding📝 Commits (7)
c255c1bFix WireGuard client binding5692d26Harden WireGuard client peer lifecycledbef964Show WireGuard in client inbound pickers559293dShow all selected client inboundsbbd6a5eImprove client inbound picker layout283a7ffRefine client form modal layoutf426c6dLoosen client inbound tag spacing📊 Changes
14 files changed (+1222 additions, -119 deletions)
View changed files
📝
frontend/public/openapi.json(+9 -9)📝
frontend/src/pages/api-docs/endpoints.ts(+9 -9)📝
frontend/src/pages/clients/ClientBulkAddModal.tsx(+1 -1)📝
frontend/src/pages/clients/ClientFormModal.tsx(+6 -6)📝
frontend/src/pages/clients/ClientsPage.css(+74 -0)📝
frontend/src/pages/inbounds/form/protocols/wireguard.tsx(+15 -0)📝
frontend/src/schemas/protocols/inbound/wireguard.ts(+5 -0)📝
internal/web/service/client_bulk.go(+129 -1)📝
internal/web/service/client_crud.go(+140 -3)📝
internal/web/service/inbound.go(+44 -11)📝
internal/web/service/inbound_disable.go(+5 -1)➕
internal/web/service/wireguard_client_binding.go(+480 -0)➕
internal/web/service/wireguard_client_binding_test.go(+218 -0)📝
internal/web/service/xray.go(+87 -78)📄 Description
Summary
client_inboundslinks instead ofsettings.clients.settings.peers[](clientId,clientEmail,clientSubId,clientComment,comment) and preserve it in the inbound form.Testing
go test ./internal/web/servicenpm --prefix frontend run build🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.