mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5254] [Question]: add user on wireguard #3681
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#3681
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?
Originally created by @usamirali on GitHub (Jun 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5254
What are you trying to do?
hi i want to know
can we add client on wireguard inbound ??
What have you already tried?
No response
3x-ui version
3.3.1
How did you install 3x-ui?
install.sh script
Operating system
ubuntu 26
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Jun 13, 2026):
WireGuard peers can be added, but the mechanism is different from the "Clients" tab used by VLESS/VMess/Trojan/etc.
How peers are managed today
WireGuard inbounds store peers in a
settings.peers[]array, notsettings.clients[]. As a result, the standard Clients page does not list or manage WireGuard peers. Instead, peers are configured directly inside the inbound:allowedIPs(e.g.10.0.0.2/32,10.0.0.3/32, …) automatically.allowedIPs,keepAlive, and an optional comment.This behavior is confirmed in
frontend/src/pages/inbounds/form/protocols/wireguard.tsx(theForm.Listoversettings.peers) andinternal/web/service/inbound.go(which readssettings["clients"]— leaving WireGuard peers outside the standard client pipeline).What is not supported
internal/web/service/tgbot/tgbot_inbound.go,excludedProtocols).Client config to use on the peer side
After saving, use the inbound's public key as
Endpoint's peer public key in the client WireGuard config, and set the peer'sAllowedIPsto match what was configured. The private key shown in the peer form is the client's private key.This reply was generated automatically; a maintainer may follow up with additional information.