[Feature]: Support for qWDTT / OlcRTC / OpenFlux to bypass DPI whitelisting in Russian mobile networks
Is your feature request related to a problem?
In Russia, mobile ISPs have started actively enforcing DPI-level whitelisting. On mobile internet (LTE/5G), only a small set of state-approved services remain reachable — VK, Yandex, MAX, and a few others. All other traffic, including standard VPN protocols (VLESS, VMess, Trojan, WireGuard, OpenVPN), is fully blocked, even when the server is located inside Russia. Common obfuscation methods like Reality or TLS do not help, because the DPI simply drops everything that does not look like an allowed service.
Current 3x-ui protocols are useless in this scenario, as they cannot masquerade as VK, Yandex Telemost, or Yandex Docs traffic.
Describe the solution you'd like
Add support for these protocols as new inbound types in the panel, similar to how VLESS / Trojan / VMess are currently added:
- UI placement:
- In the "Add Inbound" dropdown, add three new protocol options: qWDTT, OlcRTC, OpenFlux.
- Each should have its own settings block with masquerading parameters:
- OlcRTC: provider (jitsi / telemost / wbstream), transport (datachannel / vp8channel / seichannel / videochannel), room ID, encryption key.
- qWDTT: VK call hash, server host/port, TURN credentials if needed.
- OpenFlux: transport backend (yandex / max), document URL or MAX token/uid, optional AES-256-GCM toggle.
- Config structure:
- Each protocol generates a JSON config on the server side that the panel writes to disk and launches as a managed process (like xray-core is launched now).
- The panel should store these configs in the same directory as existing inbounds, and expose them via the same inbound API.
- API:
- Extend /panel/inbound/add, /panel/inbound/update, /panel/inbound/list to accept the new protocol field.
- Add GET /panel/inbound/olcrtc/:id/uri or similar to return a shareable URI (olcrtc://) for clients.
- Support subscription generation: the panel should output olcrtc:// URIs and qWDTT configs in the subscription endpoint alongside existing VLESS/VMess links.
- Expected behavior:
- When adding an inbound, the panel should be able to auto-generate a room ID / document URL if the user does not provide one.
- If the underlying external binary (olcrtc srv, qWDTT server, universal-bypass-tool) is missing, the panel should show a clear warning in the UI and offer to download/install it, instead of failing silently.
- On inbound delete, the panel must kill the associated process and remove its config.
- Traffic stats (uplink/downlink, connected clients) should be collected the same way as for xray inbounds, even if it means parsing logs from the external binary.
- Fallback:
- If full native integration is too complex, at minimum add a "Custom Outbound / External Tunnel" inbound type where the user specifies a command line to launch, a config path, and a SOCKS5 port that 3x-ui routes traffic through. Ready-made templates for qWDTT / OlcRTC / OpenFlux can be shipped as presets.
Alternatives you've considered
I have tested the following alternatives, and none of them work reliably under mobile DPI whitelisting in Russia:
VLESS + Reality Tried with several SNIs (including Russian domains). The DPI blocks the connection before the TLS handshake — at the IP/port level. Reality never gets a chance to masquerade. Useless under whitelisting.
VLESS + XTLS + WebSocket behind CDN (Cloudflare) Does not work, because mobile whitelisting blocks Cloudflare IP ranges entirely. The CDN is simply unreachable from the mobile network.
Trojan / Shadowsocks Detected by signature and blocked immediately on handshake or dropped after a few seconds.
WireGuard / AmneziaWG Blocked at the protocol level. Amnezia obfuscation helps against basic DPI but not against whitelisting — packets never reach the server because the ISP drops everything outside the allowed list.
Routing traffic through a CDN or IP that is inside the whitelist This is theoretically possible: find a CDN or hosting provider whose IP ranges are in the mobile carrier's whitelist, and tunnel traffic through it. But in practice this is:
- Extremely expensive — whitelisted CDN / hosting providers in Russia charge heavily for this, and the allowed IP ranges are limited and tightly controlled.
- Unstable — the whitelist changes frequently, so an IP that works today may be blocked tomorrow.
- Not scalable — cannot serve many users through a single whitelisted endpoint without raising suspicion and getting it blocked.
- Requires owning or renting the whitelisted infrastructure, which most users cannot afford.
Self-hosted VLESS server inside Russia (Russian VPS) Still blocked. Whitelisting is not about server location — it is about which destination IPs the carrier allows. Any IP outside the whitelist is dropped.
Chaining 3x-ui with an external SOCKS5 proxy (olcrtc cnc / qWDTT client on the phone) Works in theory, but:
- No native integration in the panel — impossible to manage users, traffic limits, or subscriptions.
- Each user must install and configure the external client manually — not scalable.
- The panel cannot see traffic stats or apply per-user rules through the external tunnel.
- Standard 3x-ui subscription links Do not help, because the client still needs a working transport to reach the server first. A subscription link is useless if the underlying protocol cannot pass DPI.
Conclusion: none of the existing 3x-ui protocols or standard bypass methods work under mobile whitelisting. Routing through whitelisted CDNs/IPs is possible in theory but economically unfeasible for most users. This is why native integration of WebRTC-based transports (qWDTT / OlcRTC / OpenFlux) into the panel is needed — they are currently the only practical way to pass through, because they look like allowed VK / Yandex / MAX traffic.
Concrete use case
I run a small self-hosted 3x-ui instance for myself and about 40 people — friends, family, and a few colleagues. All of them are in Russia and use mobile internet on a daily basis. Their ISPs (MTS, MegaFon, Beeline, Yota) have all enabled DPI whitelisting on mobile plans, so outside of VK, Yandex, MAX, and a handful of state services, nothing loads.
Current setup:
- 1 VPS in Russia, 3x-ui with VLESS + Reality, plus a backup VPS abroad with VLESS + WebSocket.
- 5 inbound channels total (2 main, 3 backups).
- ~40 active users, each with 1-2 devices (phone + laptop), so roughly 60-70 simultaneous client sessions at peak.
What happens today:
- On Wi-Fi at home, everything works fine — VLESS + Reality passes.
- On mobile internet, 100% of connections fail within 2-3 seconds. The client shows "handshake failed" or just times out. Reality, WS, Trojan — all dead. The panel logs show zero incoming traffic from mobile IPs.
- Users end up switching to the VK app or Yandex services just to stay online, and my VPN is effectively useless to them from 8 AM to 10 PM, which is exactly when they need it most.
What the feature would change:
- If 3x-ui supported qWDTT / OlcRTC / OpenFlux as inbound types, I could:
- Issue each user a single subscription link that contains an olcrtc:// entry (Telemost provider) plus a VLESS entry for Wi-Fi.
- Let the client app auto-select the working transport depending on the network.
- Keep managing users, traffic limits, and expiration dates in the same panel, instead of asking 40 people to install and manually configure an external client.
- Realistic numbers: with 40 users at ~2-5 GB/month each, I would need roughly 100-200 GB/month of relayed traffic. A single olcrtc srv node with Telemost as the provider can handle that, but only if the panel can launch it, monitor it, and route per-user traffic through it.
Without native support in 3x-ui, the only option is a manual setup per user — which is not realistic for 40 people, let alone if the user base grows.
Mockups, screenshots, or examples
Examples of existing implementations and clients for the protocols:
qWDTT — Android app + server component https://github.com/SpaceNeuroX/proxy-turn-vk-android Creates a system VPN tunnel on Android and relays traffic through VK TURN infrastructure. Has a server-side part that would need to run on the VPS. UI shows a list of servers, a profile per connection, and a VK call hash field.
OlcRTC — TCP-over-WebRTC tunnel https://github.com/openlibrecommunity/olcrtc Documentation: docs/fast.md, docs/configuration.md, docs/uri.md (URI format) Existing clients that already support olcrtc:// URIs and subscriptions:
- https://github.com/owenewans/owenclave (Android, fork of exclave)
- https://github.com/venterum/veil (Android, fork of v2rayNG)
- https://github.com/alananisimov/olcbox (KMP client for Android/iOS/macOS/Windows/Linux) These clients already consume olcrtc:// URIs and subscriptions, so if 3x-ui could generate them, integration would be immediate.
- OpenFlux — TCP tunnel with pluggable transports https://github.com/p1neappleXpress/OpenFlux Transports: Yandex Docs (cursor messages) and MAX (WebRTC DataChannel). Android client: https://github.com/p1neappleXpress/OpenFluxAndroid iOS client: TestFlight beta (see README)
Suggested UI (mockup description):
In the "Add Inbound" form, a new "Protocol" dropdown entry with three sub-options. When selected, show a settings block:
[ Inbound ] Protocol: [ OlcRTC ▾ ] Provider: [ Telemost ▾ ] (Jitsi / Telemost / WBStream) Transport: [ datachannel ▾ ] (datachannel / vp8channel / seichannel / videochannel) Room ID: [ auto-generated or user input ] Key: [ generate / paste ] Port: [ 443 ] SNI/domain (optional) [ Save ] [ Cancel ]
[ Inbound ] Protocol: [ qWDTT ▾ ] VK call hash: [ ................ ] Server host: [ vps.example.com ] Server port: [ 56000 ] [ Save ] [ Cancel ]
[ Inbound ] Protocol: [ OpenFlux ▾ ] Transport: [ yandex ▾ ] (yandex / max) Document URL / MAX token: [ ................ ] Encryption (AES-256-GCM): [ on / off ] [ Save ] [ Cancel ]
Config fragments that 3x-ui would generate on the server side (examples for reference):
OlcRTC (YAML, based on docs/configuration.md): mode: srv provider: telemost transport: datachannel room: key:
qWDTT server side: launch the server binary with the VK call hash and listen port; the panel stores these as inbound settings and manages the process.
OpenFlux (CLI example from README):
sudo ./universal-bypass-tool --exit-node --local-ip
--url "YOUR_YANDEX_DOC_URL" --debug
Subscription output example (what the panel would emit): olcrtc:// qwdtt://<...> openflux://<...>
These formats already exist in the linked clients, so the panel only needs to generate them — no new client development required.
Which parts of the panel would this affect?
Backend (API endpoints, login, settings), Frontend (UI / panel pages), Xray config generation, Subscription (share links / Clash / JSON), Statistics / traffic counters, Install / upgrade script, Other
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.
Source: MHSanaei/3x-ui