mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5128] [Feature]: OpenVPN as Outbound #3606
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#3606
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 @mohsaja on GitHub (Jun 9, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5128
Is your feature request related to a problem?
Currently, users can only use the outbound types supported by the application. Many users already have subscriptions to commercial VPN providers that offer multiple OpenVPN configurations for different countries, but these configurations cannot be used directly as outbounds.
As a result, users who need multiple exit locations often have to deploy and maintain several VPS instances in different countries, even though they already have access to those locations through their VPN provider.
Describe the solution you'd like
Add support for OpenVPN client configurations (.ovpn) as outbound connections.
Users should be able to import an OpenVPN configuration file, provide credentials if required, and use the established OpenVPN tunnel as an outbound route.
This would allow a single server to utilize existing OpenVPN endpoints from VPN providers and provide access to multiple geographic locations without requiring additional VPS deployments.
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 (Jun 9, 2026):
This request was already addressed in #3358.
The short answer is that OpenVPN support cannot be added to 3x-ui because Xray-core — the underlying proxy engine — does not support OpenVPN. Xray-core is designed around modern proxy protocols (VLESS, VMess, Trojan, Shadowsocks, WireGuard, Hysteria2, etc.). OpenVPN is a full layer-3 VPN solution with its own TLS stack, tun/tap interface management, and tunneling mechanisms, which are architecturally incompatible with how Xray-core handles outbounds.
Adding OpenVPN as an outbound would require Xray-core itself to grow native OpenVPN client support first. That upstream change is outside the scope of 3x-ui.
Closing as a duplicate of #3358.