mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #6015] [Feature]: Adding openvpn connection #4167
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ashkan955 on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6015
Is your feature request related to a problem?
no
Describe the solution you'd like
As the all method using proxy solutions not native networking solutions, the connection like open vpn needed for many environments that they need connections that support routing. for example im using panel to update some network security devices like firewalls and wafs that their vendor blocked our country ip due to sanctions. for such a use, raw networking solutions like openvpn would be helpful.
Thank you for all you did and doing in this years till now.
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?
Before submitting
@github-actions[bot] commented on GitHub (Jul 17, 2026):
This is the same request as #3358 (and #5128), which already has a definitive answer: OpenVPN support cannot be added to 3x-ui because the underlying engine, Xray-core (
github.com/xtls/xray-core, seego.mod), does not implement the OpenVPN protocol as an inbound or an outbound.Confirmed in this repo:
internal/database/model/model.godefines the full, closed set of supported inbound protocols:There is no OpenVPN entry, and no reference to OpenVPN anywhere else in the codebase. 3x-ui is a management panel for Xray-core: it runs Xray-core as a child process and imports it for config generation and the gRPC stats/handler API (
internal/xray/process.go). The only protocol handled outside Xray-core itself is MTProto, which runs through a separately bundled binary (internal/mtproto/). OpenVPN is a full Layer-3 VPN with its own TLS handshake and tun/tap interface management, architecturally different from Xray's proxy-oriented inbounds/outbounds, so adding it would require OpenVPN support in Xray-core first, which is outside 3x-ui's control.If the underlying need is a routable tunnel for reaching internal devices (rather than proxying),
wireguardis already a supported protocol in the enum above, with genuine Layer-3 routing unlike the other proxy protocols. It may cover this use case without waiting on upstream Xray-core changes.Closing as a duplicate of #3358 so discussion and any future updates stay in one place.
This reply was generated automatically. A maintainer may follow up.