[GH-ISSUE #5128] [Feature]: OpenVPN as Outbound #3606

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

Originally created by @mohsaja on GitHub (Jun 9, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5128

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?

  • 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 @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? - [ ] 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.
bsakaguchi 2026-10-31 20:33:40 +07:00
Author
Owner

@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.

<!-- gh-comment-id:4658788435 --> @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.
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#3606
No description provided.