[GH-ISSUE #6631] [Feature]: Native OpenFlux integration with all transports #4435

Open
opened 2026-10-31 20:39:39 +07:00 by bsakaguchi · 2 comments
Owner

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

Yes. Currently, 3x-ui does not provide native management for OpenFlux.

Users who want to use OpenFlux alongside 3x-ui have to install, configure, update, and monitor the OpenFlux exit node separately or use an additional management panel such as web-panel-proxy.

This results in two separate management systems on the same server and prevents OpenFlux from benefiting from 3x-ui features such as centralized service management, multi-node support, configuration backup, status monitoring, logs, and client configuration/QR generation.

OpenFlux is not an Xray inbound, so the problem cannot be solved simply by adding another Xray protocol configuration. It needs to be managed as a separate service/sidecar process by 3x-ui.

Describe the solution you'd like

I would like 3x-ui to add native OpenFlux support as a managed sidecar service, separate from Xray-core.

3x-ui would be responsible for installing/configuring and managing the OpenFlux exit process, including start, stop, restart, status monitoring, logs, automatic recovery, and configuration storage.

The implementation should support all OpenFlux transports rather than only Yandex:

  • Yandex Docs (yandex)
  • Yandex Volga (vyandex)
  • Mail.ru Docs (mailru)
  • Cups.online (cupsonline)
  • MAX / OneMe (oneme)

It should also support the available OpenFlux options, including:

  • Batched and Legacy codecs
  • L4 mode by default
  • Optional L3 mode for advanced configurations
  • Optional encryption
  • Secure secret generation and key rotation
  • Transport-specific configuration fields

Ideally, OpenFlux should also integrate with the existing 3x-ui node architecture so an administrator can select which node will run a particular OpenFlux exit instance.

The UI could provide a dedicated OpenFlux section where administrators can create and manage profiles, select a transport, configure its required parameters, view service status and logs, and start/stop/restart the OpenFlux process.

For clients, 3x-ui could generate the complete OpenFlux client configuration and provide Copy and QR Code options. In the future, a standard openflux:// share URI could allow OpenFlux Android to import a complete profile directly from 3x-ui.

This does not require OpenFlux to become part of Xray-core. The proposed architecture is:

3x-ui → OpenFlux Manager → OpenFlux sidecar process

This keeps OpenFlux independent from Xray while allowing it to be managed through the same 3x-ui interface.

Reference implementation / proof of concept:
https://github.com/POLESNIESOVETI12/web-panel-proxy

OpenFlux project:
https://github.com/damnurmum/OpenFlux-Android

Alternatives you've considered

Currently, OpenFlux can be installed and managed separately from 3x-ui.

There is already a working proof-of-concept implementation that adds OpenFlux management to a separate web panel:

https://github.com/POLESNIESOVETI12/web-panel-proxy

OpenFlux itself is available here:

https://github.com/damnurmum/OpenFlux-Android

This approach works, but it requires running and maintaining a second management system alongside 3x-ui.

Another option is to manually install OpenFlux on every server and manage its configuration, processes, encryption keys, updates, and logs through SSH/systemd. This becomes inconvenient when multiple 3x-ui nodes are involved.

I believe a better solution would be native OpenFlux management from 3x-ui while keeping OpenFlux technically independent from Xray-core.

OpenFlux does not need to become an Xray inbound. It could run as a separately managed sidecar process controlled by 3x-ui.

Concrete use case

A practical example would be a 3x-ui installation with one master panel and several nodes.

For example:

  • 1 × 3x-ui master
  • 5 × remote nodes
  • Regular Xray inbounds on the nodes
  • OpenFlux exit services on some or all of the same nodes

Today, an administrator who wants to provide both Xray and OpenFlux has to manage the Xray configuration through 3x-ui and manage OpenFlux separately.

With native integration, the administrator could open 3x-ui, select a node, create an OpenFlux service and choose the required transport:

  • Yandex Docs (yandex)
  • Yandex Volga (vyandex)
  • Mail.ru Docs (mailru)
  • Cups.online (cupsonline)
  • MAX / OneMe (oneme)

For example:

Node: Netherlands-01
Service: OpenFlux NL
Transport: Yandex Docs
Codec: Batched
Mode: L4
Encryption: Enabled

Another node could use a different transport:

Node: Germany-01
Service: OpenFlux DE
Transport: Mail.ru Docs
Codec: Batched
Mode: L4
Encryption: Enabled

3x-ui would start and supervise the appropriate OpenFlux process on each selected node.

The administrator could then see its status, restart or stop it, rotate its encryption secret, view logs, and obtain the client configuration without connecting to the server through SSH.

Ideally, the panel could also generate a client configuration/share link and QR code so that an OpenFlux Android profile could be imported without manually copying multiple configuration parameters.

This would allow Xray and OpenFlux services across multiple servers to be managed from the same 3x-ui installation.

Mockups, screenshots, or examples

Existing working web-panel implementation:

https://github.com/POLESNIESOVETI12/web-panel-proxy

OpenFlux project:

https://github.com/damnurmum/OpenFlux-Android

Suggested architecture

OpenFlux should remain independent from Xray-core and run as a managed sidecar:

                 3x-ui
                   |
        +----------+----------+
        |          |          |
        v          v          v
    Xray-core     TUIC     OpenFlux
                              |
                    +---------+---------+
                    |         |         |
                 Profile 1 Profile 2 Profile 3

A possible backend structure could be:

internal/openflux/
├── manager.go
├── process.go
├── config.go
├── profile.go
└── validator.go

3x-ui would be responsible for:

  • OpenFlux process start / stop / restart
  • Process health monitoring
  • Automatic restart
  • Configuration storage
  • Logs
  • Secure secret storage
  • Key generation and rotation
  • Node assignment
  • Client configuration generation

Transport support

The implementation should not be limited to Yandex.

The UI should support all available OpenFlux transports:

Yandex Docs    -> yandex
Yandex Volga   -> vyandex
Mail.ru Docs   -> mailru
Cups.online    -> cupsonline
MAX / OneMe    -> oneme

Transport-specific fields could be displayed dynamically.

For example:

Add OpenFlux

Name:
[ OpenFlux Netherlands        ]

Node:
[ Netherlands-01            ▼ ]

Transport:
[ Yandex Docs               ▼ ]

Document URL:
[ https://...                 ]

Codec:
[ Batched                   ▼ ]

Exit Mode:
[ L4                        ▼ ]

Encryption:
[x] Enabled

Secret:
[ ************************** ]
[ Generate ]

                [Cancel] [Create]

For MAX / OneMe, the form could automatically display the required authentication fields instead of Document URL.

Service management

After creation:

OpenFlux Netherlands

Status:       Running
Node:         Netherlands-01
Transport:    Yandex Docs
Codec:        Batched
Mode:         L4
Encryption:  Enabled

[Client config] [QR]
[Edit] [Restart] [Stop] [Delete]

Client configuration

Ideally, 3x-ui could generate all parameters required by the OpenFlux client.

A standard share URI could also be introduced in cooperation with the OpenFlux project:

openflux://...

This would make it possible to provide:

[Copy configuration]
[Copy OpenFlux link]
[QR code]

and eventually:

3x-ui
   |
   v
OpenFlux QR / share link
   |
   v
OpenFlux Android
   |
   v
Import profile

Multi-node

For multi-node installations:

3x-ui Master
     |
     +-- Netherlands-01
     |       |
     |       +-- Xray
     |       +-- OpenFlux
     |
     +-- Germany-01
     |       |
     |       +-- Xray
     |       +-- OpenFlux
     |
     +-- Finland-01
             |
             +-- Xray
             +-- OpenFlux

The OpenFlux process should run on the selected node rather than on the master.

Docker

The implementation should preferably not depend on systemd.

3x-ui could directly supervise the OpenFlux process so the same implementation can work with native installations, Docker installations, and remote nodes.

Future integration

If the OpenFlux backend provides the necessary information, this could later be extended with:

  • Upload/download statistics
  • Active connections
  • Per-client statistics
  • Traffic quotas
  • Expiration
  • Online status
  • Subscription integration

These features do not need to block an initial implementation.

The first version could focus on transport configuration, process management, multi-node support, encryption/key management, logs, and client configuration generation.

Which parts of the panel would this affect?

Frontend (UI / panel pages), Backend (API endpoints, login, settings), Docker image, Subscription (share links / Clash / JSON), Multi-node (sub-nodes)

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 @stepm65 on GitHub (Sep 24, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6631 ### Is your feature request related to a problem? Yes. Currently, 3x-ui does not provide native management for OpenFlux. Users who want to use OpenFlux alongside 3x-ui have to install, configure, update, and monitor the OpenFlux exit node separately or use an additional management panel such as web-panel-proxy. This results in two separate management systems on the same server and prevents OpenFlux from benefiting from 3x-ui features such as centralized service management, multi-node support, configuration backup, status monitoring, logs, and client configuration/QR generation. OpenFlux is not an Xray inbound, so the problem cannot be solved simply by adding another Xray protocol configuration. It needs to be managed as a separate service/sidecar process by 3x-ui. ### Describe the solution you'd like I would like 3x-ui to add native OpenFlux support as a managed sidecar service, separate from Xray-core. 3x-ui would be responsible for installing/configuring and managing the OpenFlux exit process, including start, stop, restart, status monitoring, logs, automatic recovery, and configuration storage. The implementation should support all OpenFlux transports rather than only Yandex: - Yandex Docs (`yandex`) - Yandex Volga (`vyandex`) - Mail.ru Docs (`mailru`) - Cups.online (`cupsonline`) - MAX / OneMe (`oneme`) It should also support the available OpenFlux options, including: - Batched and Legacy codecs - L4 mode by default - Optional L3 mode for advanced configurations - Optional encryption - Secure secret generation and key rotation - Transport-specific configuration fields Ideally, OpenFlux should also integrate with the existing 3x-ui node architecture so an administrator can select which node will run a particular OpenFlux exit instance. The UI could provide a dedicated OpenFlux section where administrators can create and manage profiles, select a transport, configure its required parameters, view service status and logs, and start/stop/restart the OpenFlux process. For clients, 3x-ui could generate the complete OpenFlux client configuration and provide Copy and QR Code options. In the future, a standard `openflux://` share URI could allow OpenFlux Android to import a complete profile directly from 3x-ui. This does not require OpenFlux to become part of Xray-core. The proposed architecture is: 3x-ui → OpenFlux Manager → OpenFlux sidecar process This keeps OpenFlux independent from Xray while allowing it to be managed through the same 3x-ui interface. Reference implementation / proof of concept: https://github.com/POLESNIESOVETI12/web-panel-proxy OpenFlux project: https://github.com/damnurmum/OpenFlux-Android ### Alternatives you've considered Currently, OpenFlux can be installed and managed separately from 3x-ui. There is already a working proof-of-concept implementation that adds OpenFlux management to a separate web panel: https://github.com/POLESNIESOVETI12/web-panel-proxy OpenFlux itself is available here: https://github.com/damnurmum/OpenFlux-Android This approach works, but it requires running and maintaining a second management system alongside 3x-ui. Another option is to manually install OpenFlux on every server and manage its configuration, processes, encryption keys, updates, and logs through SSH/systemd. This becomes inconvenient when multiple 3x-ui nodes are involved. I believe a better solution would be native OpenFlux management from 3x-ui while keeping OpenFlux technically independent from Xray-core. OpenFlux does not need to become an Xray inbound. It could run as a separately managed sidecar process controlled by 3x-ui. ### Concrete use case A practical example would be a 3x-ui installation with one master panel and several nodes. For example: - 1 × 3x-ui master - 5 × remote nodes - Regular Xray inbounds on the nodes - OpenFlux exit services on some or all of the same nodes Today, an administrator who wants to provide both Xray and OpenFlux has to manage the Xray configuration through 3x-ui and manage OpenFlux separately. With native integration, the administrator could open 3x-ui, select a node, create an OpenFlux service and choose the required transport: - Yandex Docs (`yandex`) - Yandex Volga (`vyandex`) - Mail.ru Docs (`mailru`) - Cups.online (`cupsonline`) - MAX / OneMe (`oneme`) For example: Node: Netherlands-01 Service: OpenFlux NL Transport: Yandex Docs Codec: Batched Mode: L4 Encryption: Enabled Another node could use a different transport: Node: Germany-01 Service: OpenFlux DE Transport: Mail.ru Docs Codec: Batched Mode: L4 Encryption: Enabled 3x-ui would start and supervise the appropriate OpenFlux process on each selected node. The administrator could then see its status, restart or stop it, rotate its encryption secret, view logs, and obtain the client configuration without connecting to the server through SSH. Ideally, the panel could also generate a client configuration/share link and QR code so that an OpenFlux Android profile could be imported without manually copying multiple configuration parameters. This would allow Xray and OpenFlux services across multiple servers to be managed from the same 3x-ui installation. ### Mockups, screenshots, or examples Existing working web-panel implementation: https://github.com/POLESNIESOVETI12/web-panel-proxy OpenFlux project: https://github.com/damnurmum/OpenFlux-Android ## Suggested architecture OpenFlux should remain independent from Xray-core and run as a managed sidecar: ```text id="ry1jdp" 3x-ui | +----------+----------+ | | | v v v Xray-core TUIC OpenFlux | +---------+---------+ | | | Profile 1 Profile 2 Profile 3 ``` A possible backend structure could be: ```text id="cfrg6w" internal/openflux/ ├── manager.go ├── process.go ├── config.go ├── profile.go └── validator.go ``` 3x-ui would be responsible for: - OpenFlux process start / stop / restart - Process health monitoring - Automatic restart - Configuration storage - Logs - Secure secret storage - Key generation and rotation - Node assignment - Client configuration generation ## Transport support The implementation should not be limited to Yandex. The UI should support all available OpenFlux transports: ```text id="a19b7q" Yandex Docs -> yandex Yandex Volga -> vyandex Mail.ru Docs -> mailru Cups.online -> cupsonline MAX / OneMe -> oneme ``` Transport-specific fields could be displayed dynamically. For example: ```text id="db99wf" Add OpenFlux Name: [ OpenFlux Netherlands ] Node: [ Netherlands-01 ▼ ] Transport: [ Yandex Docs ▼ ] Document URL: [ https://... ] Codec: [ Batched ▼ ] Exit Mode: [ L4 ▼ ] Encryption: [x] Enabled Secret: [ ************************** ] [ Generate ] [Cancel] [Create] ``` For MAX / OneMe, the form could automatically display the required authentication fields instead of Document URL. ## Service management After creation: ```text id="pwxhzu" OpenFlux Netherlands Status: Running Node: Netherlands-01 Transport: Yandex Docs Codec: Batched Mode: L4 Encryption: Enabled [Client config] [QR] [Edit] [Restart] [Stop] [Delete] ``` ## Client configuration Ideally, 3x-ui could generate all parameters required by the OpenFlux client. A standard share URI could also be introduced in cooperation with the OpenFlux project: ```text id="m7t7re" openflux://... ``` This would make it possible to provide: ```text id="owj1xp" [Copy configuration] [Copy OpenFlux link] [QR code] ``` and eventually: ```text id="vse3we" 3x-ui | v OpenFlux QR / share link | v OpenFlux Android | v Import profile ``` ## Multi-node For multi-node installations: ```text id="vdbklc" 3x-ui Master | +-- Netherlands-01 | | | +-- Xray | +-- OpenFlux | +-- Germany-01 | | | +-- Xray | +-- OpenFlux | +-- Finland-01 | +-- Xray +-- OpenFlux ``` The OpenFlux process should run on the selected node rather than on the master. ## Docker The implementation should preferably not depend on systemd. 3x-ui could directly supervise the OpenFlux process so the same implementation can work with native installations, Docker installations, and remote nodes. ## Future integration If the OpenFlux backend provides the necessary information, this could later be extended with: - Upload/download statistics - Active connections - Per-client statistics - Traffic quotas - Expiration - Online status - Subscription integration These features do not need to block an initial implementation. The first version could focus on transport configuration, process management, multi-node support, encryption/key management, logs, and client configuration generation. ### Which parts of the panel would this affect? Frontend (UI / panel pages), Backend (API endpoints, login, settings), Docker image, Subscription (share links / Clash / JSON), Multi-node (sub-nodes) ### 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.
Author
Owner

@Bebrik2283555 commented on GitHub (Sep 24, 2026):

Я не думаю что средства обхода бс будут добавляться

<!-- gh-comment-id:5810647500 --> @Bebrik2283555 commented on GitHub (Sep 24, 2026): Я не думаю что средства обхода бс будут добавляться
Author
Owner

@Sk7Str1p3 commented on GitHub (Oct 9, 2026):

Почему именно?

<!-- gh-comment-id:6076967687 --> @Sk7Str1p3 commented on GitHub (Oct 9, 2026): Почему именно?
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#4435
No description provided.