[GH-ISSUE #6683] [Feature]: Allow editing outbounds imported from outbound subscriptions / امکان ویرایش خروجی‌های سابسکریپشن #4462

Open
opened 2026-10-31 20:39:50 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @montiego on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6683

Describe the bug

Description

There is an issue with outbound configurations that are added through subscriptions.

When an outbound configuration is added via a subscription, it cannot be edited afterward. The configuration can be added successfully, but there is no way to modify its settings from the panel.

Could you please consider fixing this issue and allowing outbound configurations added through subscriptions to be edited normally?

Thank you for your work and for considering this request.

توضیحات

در قسمت Outbound پنل، کانفیگ‌هایی که از طریق Subscription اضافه می‌شوند، بعد از اضافه شدن امکان ویرایش ندارند.

کانفیگ از طریق سابسکریپشن به‌درستی اضافه می‌شود، اما پس از اضافه شدن، امکان تغییر تنظیمات آن از داخل پنل وجود ندارد.

اگر امکان ویرایش کانفیگ‌های Outbound که از طریق Subscription اضافه شده‌اند را نیز فراهم کنید، ممنون می‌شویم.

از زحمات شما و توسعه این پروژه سپاسگزارم.

How to reproduce the problem

Description

There is an issue with outbound configurations that are added through subscriptions.

When an outbound configuration is added via a subscription, it cannot be edited afterward. The configuration can be added successfully, but there is no way to modify its settings from the panel.

Could you please consider fixing this issue and allowing outbound configurations added through subscriptions to be edited normally?

Thank you for your work and for considering this request.

توضیحات

در قسمت Outbound پنل، کانفیگ‌هایی که از طریق Subscription اضافه می‌شوند، بعد از اضافه شدن امکان ویرایش ندارند.

کانفیگ از طریق سابسکریپشن به‌درستی اضافه می‌شود، اما پس از اضافه شدن، امکان تغییر تنظیمات آن از داخل پنل وجود ندارد.

اگر امکان ویرایش کانفیگ‌های Outbound که از طریق Subscription اضافه شده‌اند را نیز فراهم کنید، ممنون می‌شویم.

از زحمات شما و توسعه این پروژه سپاسگزارم.

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.2.8

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

ubuntu24

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @montiego on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6683 ### Describe the bug ### Description There is an issue with outbound configurations that are added through subscriptions. When an outbound configuration is added via a subscription, it cannot be edited afterward. The configuration can be added successfully, but there is no way to modify its settings from the panel. Could you please consider fixing this issue and allowing outbound configurations added through subscriptions to be edited normally? Thank you for your work and for considering this request. ### توضیحات در قسمت **Outbound** پنل، کانفیگ‌هایی که از طریق **Subscription** اضافه می‌شوند، بعد از اضافه شدن امکان ویرایش ندارند. کانفیگ از طریق سابسکریپشن به‌درستی اضافه می‌شود، اما پس از اضافه شدن، امکان تغییر تنظیمات آن از داخل پنل وجود ندارد. اگر امکان ویرایش کانفیگ‌های Outbound که از طریق Subscription اضافه شده‌اند را نیز فراهم کنید، ممنون می‌شویم. از زحمات شما و توسعه این پروژه سپاسگزارم. ### How to reproduce the problem ### Description There is an issue with outbound configurations that are added through subscriptions. When an outbound configuration is added via a subscription, it cannot be edited afterward. The configuration can be added successfully, but there is no way to modify its settings from the panel. Could you please consider fixing this issue and allowing outbound configurations added through subscriptions to be edited normally? Thank you for your work and for considering this request. ### توضیحات در قسمت **Outbound** پنل، کانفیگ‌هایی که از طریق **Subscription** اضافه می‌شوند، بعد از اضافه شدن امکان ویرایش ندارند. کانفیگ از طریق سابسکریپشن به‌درستی اضافه می‌شود، اما پس از اضافه شدن، امکان تغییر تنظیمات آن از داخل پنل وجود ندارد. اگر امکان ویرایش کانفیگ‌های Outbound که از طریق Subscription اضافه شده‌اند را نیز فراهم کنید، ممنون می‌شویم. از زحمات شما و توسعه این پروژه سپاسگزارم. ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.8 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system ubuntu24 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
Author
Owner

@github-actions[bot] commented on GitHub (Sep 29, 2026):

This is not a bug: outbounds imported from an outbound subscription are read-only on purpose. The panel rebuilds them from the remote subscription on every refresh, so any edit you made would be overwritten. I've relabelled this as a feature request.

Why they are read-only

  • The panel does not save subscription outbounds into your Xray template. It injects them into the running config each time the config is generated. internal/web/service/outbound_subscription.go:672-673:

    We deliberately do not mutate the saved xrayTemplateConfig. Subscription outbounds are always injected at runtime in GetXrayConfig.

  • The table that lists them is deliberately view-only. frontend/src/pages/xray/outbounds/SubscriptionOutbounds.tsx:37-39:

    Read-only view of outbounds imported from active subscriptions. They are not part of the editable template (so no edit/delete/move), but traffic is matched by tag and they can be latency-tested via the same backend endpoint.

  • The panel labels that section "From outbound subscriptions (read-only)" and says to "Manage them in the Subscriptions panel above" (internal/web/translation/en-US.json:2111-2112).
  • The docs describe the same design: "injects its servers as outbounds into the running Xray config — without touching your saved template" and "The panel refreshes enabled subscriptions on a timer and reloads Xray when something changes" (docs/content/docs/en/operations/outbounds-routing.mdx:115-117, 132).

What you can change instead

  1. The subscription itself. In the Subscriptions panel you can edit its remark, url, tagPrefix, userAgent, updateInterval, enabled, prepend, allowPrivate and allowInsecure (OutboundSubscriptionService.Update, outbound_subscription.go:211).
  2. One server that needs custom settings. Add it as a normal outbound: Add Outbound, paste its vless:// / vmess:// / trojan:// / ss:// share link into the link-import field, then edit it freely (OutboundFormModal.tsx:118 importLink). A manual outbound is part of your template, so refreshes never overwrite it. It also won't pick up changes the provider makes to that server later.

خلاصه به فارسی: این رفتار باگ نیست و عمداً طراحی شده است. خروجی‌های سابسکریپشن در قالب ذخیره‌شده‌ی Xray نوشته نمی‌شوند. پنل در هر به‌روزرسانی آن‌ها را از نو از لینک سابسکریپشن می‌سازد، پس هر ویرایشی از بین می‌رفت. برای همین در پنل با عنوان «فقط‌خواندنی» نمایش داده می‌شوند. اگر یک سرور تنظیمات خاصی لازم دارد، لینک اشتراک‌گذاری آن را با Add Outbound به‌عنوان خروجی دستی وارد کنید. خروجی دستی کاملاً قابل ویرایش است. این درخواست به‌عنوان درخواست قابلیت جدید (enhancement) ثبت شد.

Related: #6443 (a broader "Outbounds management" feature request). It covers manual outbounds rather than this case, so this is not a duplicate.

I also changed the title from "[Bug]: Cannot Edit Outbound Configurations Added via Subscriptions / …" to describe the request. Note that you are on 3.2.8 and the latest release is v3.8.5. The read-only design is the same on the current default branch.

Verdict: Feature request

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:5895566729 --> @github-actions[bot] commented on GitHub (Sep 29, 2026): This is not a bug: outbounds imported from an outbound subscription are read-only on purpose. The panel rebuilds them from the remote subscription on every refresh, so any edit you made would be overwritten. I've relabelled this as a feature request. **Why they are read-only** - The panel does not save subscription outbounds into your Xray template. It injects them into the running config each time the config is generated. `internal/web/service/outbound_subscription.go:672-673`: > We deliberately do *not* mutate the saved xrayTemplateConfig. Subscription outbounds are always injected at runtime in GetXrayConfig. - The table that lists them is deliberately view-only. `frontend/src/pages/xray/outbounds/SubscriptionOutbounds.tsx:37-39`: > Read-only view of outbounds imported from active subscriptions. They are not part of the editable template (so no edit/delete/move), but traffic is matched by tag and they can be latency-tested via the same backend endpoint. - The panel labels that section **"From outbound subscriptions (read-only)"** and says to "Manage them in the Subscriptions panel above" (`internal/web/translation/en-US.json:2111-2112`). - The docs describe the same design: "injects its servers as outbounds into the running Xray config — without touching your saved template" and "The panel refreshes enabled subscriptions on a timer and reloads Xray when something changes" (`docs/content/docs/en/operations/outbounds-routing.mdx:115-117, 132`). **What you can change instead** 1. **The subscription itself.** In the Subscriptions panel you can edit its `remark`, `url`, `tagPrefix`, `userAgent`, `updateInterval`, `enabled`, `prepend`, `allowPrivate` and `allowInsecure` (`OutboundSubscriptionService.Update`, `outbound_subscription.go:211`). 2. **One server that needs custom settings.** Add it as a normal outbound: **Add Outbound**, paste its `vless://` / `vmess://` / `trojan://` / `ss://` share link into the link-import field, then edit it freely (`OutboundFormModal.tsx:118` `importLink`). A manual outbound is part of your template, so refreshes never overwrite it. It also won't pick up changes the provider makes to that server later. **خلاصه به فارسی:** این رفتار باگ نیست و عمداً طراحی شده است. خروجی‌های سابسکریپشن در قالب ذخیره‌شده‌ی Xray نوشته نمی‌شوند. پنل در هر به‌روزرسانی آن‌ها را از نو از لینک سابسکریپشن می‌سازد، پس هر ویرایشی از بین می‌رفت. برای همین در پنل با عنوان «فقط‌خواندنی» نمایش داده می‌شوند. اگر یک سرور تنظیمات خاصی لازم دارد، لینک اشتراک‌گذاری آن را با **Add Outbound** به‌عنوان خروجی دستی وارد کنید. خروجی دستی کاملاً قابل ویرایش است. این درخواست به‌عنوان درخواست قابلیت جدید (enhancement) ثبت شد. Related: #6443 (a broader "Outbounds management" feature request). It covers manual outbounds rather than this case, so this is not a duplicate. I also changed the title from "[Bug]: Cannot Edit Outbound Configurations Added via Subscriptions / …" to describe the request. Note that you are on 3.2.8 and the latest release is v3.8.5. The read-only design is the same on the current default branch. Verdict: Feature request *This reply was generated automatically; a maintainer may follow up.* <!-- claude-issue:analyst -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4462
No description provided.