[GH-ISSUE #5612] [Feature]: Update With Outbonds #3918

Closed
opened 2026-10-31 20:35:52 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @benny091 on GitHub (Jun 27, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5612

Hello i hope doing well
can you add some option we can update panel with outbonds
this option in heavy filtering time is very useful

Describe the solution you'd like

best regerds

Alternatives you've considered

No response

Concrete use case

No response

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

No response

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
Originally created by @benny091 on GitHub (Jun 27, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5612 ### Is your feature request related to a problem? Hello i hope doing well can you add some option we can update panel with outbonds this option in heavy filtering time is very useful ### Describe the solution you'd like best regerds ### Alternatives you've considered _No response_ ### Concrete use case _No response_ ### Mockups, screenshots, or examples _No response_ ### Which parts of the panel would this affect? _No response_ ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
bsakaguchi 2026-10-31 20:35:52 +07:00
Author
Owner

@MHSanaei commented on GitHub (Jun 27, 2026):

We already have it

<!-- gh-comment-id:4817156018 --> @MHSanaei commented on GitHub (Jun 27, 2026): We already have it
Author
Owner

@github-actions[bot] commented on GitHub (Jun 27, 2026):

This functionality is already available in the panel under Settings → General → Panel Traffic Outbound (panelOutbound).

Setting that field to the tag of any configured Xray outbound causes the panel to route its own outgoing HTTP requests through that outbound via an automatically injected loopback SOCKS bridge. The following operations are covered:

  • Xray version check and binary download (from api.github.com and github.com/XTLS)
  • Geo-file update downloads (geoip.dat, geosite.dat, and regional variants)
  • Telegram bot requests
  • Outbound-subscription fetches

This is confirmed in internal/web/entity/entity.go (field comment), internal/web/service/setting.go (NewProxiedHTTPClient), and internal/web/service/server.go (lines that call s.settingService.NewProxiedHTTPClient(...) for every GitHub/geo download).

How to use it:

  1. In the panel, go to Xray Settings and create or identify an outbound that routes to a proxy you control (e.g., a VLESS or SOCKS outbound). Note its Tag.
  2. Go to Settings → General.
  3. Find Panel Traffic Outbound and enter the outbound tag from step 1.
  4. Save. The loopback bridge is injected into the running Xray config live — no restart required.

One caveat noted in the translation file (en-US.json): the Xray-native Geodata Auto-Update (if configured directly in the Xray JSON template) has its own download path and is not affected by this setting. Only the panel-triggered geo-file update goes through panelOutbound.

The x-ui update shell command (which re-downloads the 3x-ui binary itself via curl) runs outside the panel process and therefore does not use this setting. If updating the 3x-ui binary through a proxy is needed in a filtered environment, that is a separate request.

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

<!-- gh-comment-id:4817169994 --> @github-actions[bot] commented on GitHub (Jun 27, 2026): This functionality is already available in the panel under **Settings → General → Panel Traffic Outbound** (`panelOutbound`). Setting that field to the tag of any configured Xray outbound causes the panel to route its own outgoing HTTP requests through that outbound via an automatically injected loopback SOCKS bridge. The following operations are covered: - Xray version check and binary download (from `api.github.com` and `github.com/XTLS`) - Geo-file update downloads (`geoip.dat`, `geosite.dat`, and regional variants) - Telegram bot requests - Outbound-subscription fetches This is confirmed in `internal/web/entity/entity.go` (field comment), `internal/web/service/setting.go` (`NewProxiedHTTPClient`), and `internal/web/service/server.go` (lines that call `s.settingService.NewProxiedHTTPClient(...)` for every GitHub/geo download). **How to use it:** 1. In the panel, go to **Xray Settings** and create or identify an outbound that routes to a proxy you control (e.g., a VLESS or SOCKS outbound). Note its **Tag**. 2. Go to **Settings → General**. 3. Find **Panel Traffic Outbound** and enter the outbound tag from step 1. 4. Save. The loopback bridge is injected into the running Xray config live — no restart required. One caveat noted in the translation file (`en-US.json`): the **Xray-native Geodata Auto-Update** (if configured directly in the Xray JSON template) has its own download path and is not affected by this setting. Only the panel-triggered geo-file update goes through `panelOutbound`. The `x-ui update` shell command (which re-downloads the 3x-ui binary itself via `curl`) runs outside the panel process and therefore does not use this setting. If updating the 3x-ui binary through a proxy is needed in a filtered environment, that is a separate request. *This reply was generated automatically; a maintainer may follow up.*
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#3918
No description provided.