mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6801] [Question]: configs name in multilocation severs #4529
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#4529
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 @RezaHaghgoo on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6801
What are you trying to do?
How can we change or edit the names of configurations imported from another server as nodes into the master server through the multi-location feature? I mean the configuration names that appear in client applications.
What have you already tried?
No response
3x-ui version
v3.4.2 and v3.6.0
How did you install 3x-ui?
install.sh script
Operating system
No response
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Oct 12, 2026):
You can change them on the master panel. The name a client app shows is the share-link remark, and the master's subscription server builds it from the inbound's Remark and the Remark Template setting. A node inbound is an ordinary inbound row on the master, so editing it there is enough.
Option 1: rename the inbound (affects every client on it)
The master saves the new remark and marks the node dirty (
internal/web/service/inbound.go:2073,oldInbound.Remark = inbound.Remark, thenMarkNodeDirtyTxat line 2198). The next sync sends it to the node (internal/web/runtime/remote.go:844,v.Set("remark", ib.Remark)). The node keeps the same remark, so the sync loop does not undo your edit. The sync only copies the node's remark back when the node is not dirty (internal/web/service/inbound_node.go:828).If you edit the remark on the node panel instead, the master copies it on the next sync.
Option 2: change the format of the name (affects all links)
Under Panel Settings → Subscription, set Remark Template (
remarkTemplate). The default is:{{INBOUND}}is the inbound remark and{{EMAIL}}is the client's email. The full token list is in the docs: Share links → Remark template variables. The code is ininternal/sub/service.go:2414(genRemark). With an empty template it falls back to the inbound remark, extra text and email, joined with-.Option 3: a different name per address or node
Add a managed host to the inbound (see Multi-node & Managed Hosts). Each host has its own remark, which accepts the same template tokens and can be limited to specific nodes.
After any of these changes, clients must update their subscription to see the new names.
This answer is based on the current code (latest release
v3.10.0). You mentioned v3.4.2 and v3.6.0; managed hosts and some template tokens may not exist in those versions, so updating is recommended.Verdict: Not a bug (expected behaviour)
I'm closing this because the question is answered. Reply here if something in these steps does not work for you.
This reply was generated automatically; a maintainer may follow up.