[GH-ISSUE #6996] [Feature]: Add support for OpenVPN protocol and WhatsApp Proxy #4611

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

Originally created by @alikoleini on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6996

Hello,

First of all, thank you for the amazing 3X-UI panel. It is extremely useful and well-maintained.

I would like to suggest adding support for two new features in the panel:

  1. OpenVPN Protocol: Adding OpenVPN support would give users more options for secure tunneling, especially in restricted networks where OpenVPN is preferred or needed.
  2. WhatsApp Proxy: Integrating a WhatsApp proxy feature would be a fantastic addition to help users bypass restrictions on messaging services easily.

Please consider adding these features in future updates.

Thank you very much for your hard work and dedication to this project!

Describe the solution you'd like

Please add support for the OpenVPN protocol and WhatsApp Proxy to the panel. These features will greatly help users in restricted networks.

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 @alikoleini on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6996 ### Is your feature request related to a problem? Hello, First of all, thank you for the amazing 3X-UI panel. It is extremely useful and well-maintained. I would like to suggest adding support for two new features in the panel: 1. **OpenVPN Protocol:** Adding OpenVPN support would give users more options for secure tunneling, especially in restricted networks where OpenVPN is preferred or needed. 2. **WhatsApp Proxy:** Integrating a WhatsApp proxy feature would be a fantastic addition to help users bypass restrictions on messaging services easily. Please consider adding these features in future updates. Thank you very much for your hard work and dedication to this project! ### Describe the solution you'd like Please add support for the OpenVPN protocol and WhatsApp Proxy to the panel. These features will greatly help users in restricted networks. ### 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? - [x] I'd like to implement this feature myself and open a PR. - [x] 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

@github-actions[bot] commented on GitHub (Oct 28, 2026):

This is a valid feature request: 3x-ui currently has neither an OpenVPN protocol nor a WhatsApp Proxy feature. The OpenVPN half has been asked for before, so I'm keeping this issue open as a feature request and linking the earlier threads below.

What the panel supports today

The full list of inbound protocols is the Protocol enum in internal/database/model/model.go:28-40:

VMESS, VLESS, Tunnel, HTTP, Trojan, Shadowsocks, Mixed,
WireGuard, Hysteria, MTProto, AmneziaWG, TUIC, MASQUE

The source has no openvpn entry, and the only whatsapp match is a geosite sample in a Storybook story (frontend/src/components/geodata/GeoBrowserModal.stories.tsx:431).

OpenVPN

Xray-core, the engine the panel manages, has no OpenVPN inbound or outbound. Earlier requests were closed for that reason: #3358, then #5128 and #6015 as duplicates of it. One thing has changed since those replies: the panel now runs some protocols outside Xray. MTProto runs as the mtg-multi sidecar (internal/mtproto/), TUIC as a tuic-server sidecar (internal/tuic/), and AmneziaWG as an embedded userspace runtime (internal/amneziawgnet/). So Xray lacking OpenVPN is not a hard blocker on its own. Adding it would still mean building a whole new subsystem: process supervision, PKI and client certificates, .ovpn export, traffic metering and multi-node sync. Whether that is in scope is the maintainer's call.

If you want a full Layer-3 VPN client today, wireguard and amneziawg inbounds are already available. AmneziaWG is the one designed to resist DPI in restricted networks.

WhatsApp Proxy

Nothing in the repo implements this. Note that this part comes from WhatsApp's own docs, not from this codebase: the official WhatsApp proxy (github.com/WhatsApp/proxy) is an HAProxy-based TCP relay to WhatsApp's servers, not an Xray protocol. Supporting it would need either a new sidecar or a fixed-destination forwarder. I have not checked whether the existing tunnel (dokodemo-door) inbound can stand in for it, because the WhatsApp app expects the relay to behave in specific ways on each port. Please don't treat that as a working workaround.

Since you offered to implement it

Please split this into two separate requests or PRs, because the two features share no code. Read CONTRIBUTING.md and docs/architecture.md first. The existing sidecar protocols (internal/mtproto/, internal/tuic/) show the pattern a new non-Xray protocol is expected to follow, including dispatch through internal/web/runtime/ so that multi-node setups keep working.

Verdict: Feature request

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

<!-- gh-comment-id:6473167064 --> @github-actions[bot] commented on GitHub (Oct 28, 2026): This is a valid feature request: 3x-ui currently has neither an OpenVPN protocol nor a WhatsApp Proxy feature. The OpenVPN half has been asked for before, so I'm keeping this issue open as a feature request and linking the earlier threads below. **What the panel supports today** The full list of inbound protocols is the `Protocol` enum in `internal/database/model/model.go:28-40`: ```go VMESS, VLESS, Tunnel, HTTP, Trojan, Shadowsocks, Mixed, WireGuard, Hysteria, MTProto, AmneziaWG, TUIC, MASQUE ``` The source has no `openvpn` entry, and the only `whatsapp` match is a geosite sample in a Storybook story (`frontend/src/components/geodata/GeoBrowserModal.stories.tsx:431`). **OpenVPN** Xray-core, the engine the panel manages, has no OpenVPN inbound or outbound. Earlier requests were closed for that reason: #3358, then #5128 and #6015 as duplicates of it. One thing has changed since those replies: the panel now runs some protocols outside Xray. MTProto runs as the `mtg-multi` sidecar (`internal/mtproto/`), TUIC as a `tuic-server` sidecar (`internal/tuic/`), and AmneziaWG as an embedded userspace runtime (`internal/amneziawgnet/`). So Xray lacking OpenVPN is not a hard blocker on its own. Adding it would still mean building a whole new subsystem: process supervision, PKI and client certificates, `.ovpn` export, traffic metering and multi-node sync. Whether that is in scope is the maintainer's call. If you want a full Layer-3 VPN client today, `wireguard` and `amneziawg` inbounds are already available. AmneziaWG is the one designed to resist DPI in restricted networks. **WhatsApp Proxy** Nothing in the repo implements this. Note that this part comes from WhatsApp's own docs, not from this codebase: the official WhatsApp proxy (`github.com/WhatsApp/proxy`) is an HAProxy-based TCP relay to WhatsApp's servers, not an Xray protocol. Supporting it would need either a new sidecar or a fixed-destination forwarder. I have not checked whether the existing `tunnel` (dokodemo-door) inbound can stand in for it, because the WhatsApp app expects the relay to behave in specific ways on each port. Please don't treat that as a working workaround. **Since you offered to implement it** Please split this into two separate requests or PRs, because the two features share no code. Read `CONTRIBUTING.md` and `docs/architecture.md` first. The existing sidecar protocols (`internal/mtproto/`, `internal/tuic/`) show the pattern a new non-Xray protocol is expected to follow, including dispatch through `internal/web/runtime/` so that multi-node setups keep working. 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#4611
No description provided.