[GH-ISSUE #5300] [Feature]: AmneziaWG implementation following MTProto #3713

Closed
opened 2026-10-31 20:34:25 +07:00 by bsakaguchi · 4 comments
Owner

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

DPI censorship of currently implemented Wireguard.

Describe the solution you'd like

Implement AmneziaWG.
The 3x-ui panel has drifted away from Xray-core and decided to implement MTProto in the panel since the release of version 3.3.0. The only reason for not implementing AmneziaWG is simply because of "We support only xray core". That's clearly changed by implementing MTProto in the panel and shows the willingness and compatibility of this panel with other cores.
I once again ask for AmneziaWG implementation following off-Xray implementation of MTProto.
@MHSanaei

Alternatives you've considered

No response

Concrete use case

Bypass DPI more efficiently.

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 @femdiya on GitHub (Jun 13, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5300 ### Is your feature request related to a problem? DPI censorship of currently implemented Wireguard. ### Describe the solution you'd like Implement AmneziaWG. The 3x-ui panel has drifted away from Xray-core and decided to implement MTProto in the panel since the release of version 3.3.0. The only reason for not implementing AmneziaWG is simply because of "[We support only xray core](https://github.com/MHSanaei/3x-ui/issues/2459#issuecomment-2276576544)". That's clearly changed by implementing MTProto in the panel and shows the willingness and compatibility of this panel with other cores. I once again ask for AmneziaWG implementation following off-Xray implementation of MTProto. @MHSanaei ### Alternatives you've considered _No response_ ### Concrete use case Bypass DPI more efficiently. ### 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:34:25 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 13, 2026):

This is a duplicate of several prior requests for the same feature: #2459, #3017, #3330, #4849, #5090, #5113, and #5237.

The technical argument about MTProto is accurate and worth addressing precisely. Confirmed in internal/mtproto/manager.go: MTProto inbounds are handled by launching a separately bundled mtg binary as a child process, managed by internal/mtproto/Manager independently of xray-core. Traffic is accounted for by scraping mtg's Prometheus metrics endpoint. This is structurally the same approach that AmneziaWG integration would require (bundling the awg or amneziawg-go tooling and managing it as a sidecar process).

So the claim "we support only xray core" is no longer accurate as a blanket policy, and the user's observation is technically correct.

That said, whether to add AmneziaWG via this approach is a maintainer decision about scope and maintenance burden, not merely a technical one. The existing discussion and any maintainer response on this topic belongs in #3017 and #2459, where the most context has accumulated.

Closing as a duplicate. Continued discussion is best directed to those threads.

<!-- gh-comment-id:4699838942 --> @github-actions[bot] commented on GitHub (Jun 13, 2026): This is a duplicate of several prior requests for the same feature: #2459, #3017, #3330, #4849, #5090, #5113, and #5237. The technical argument about MTProto is accurate and worth addressing precisely. Confirmed in `internal/mtproto/manager.go`: MTProto inbounds are handled by launching a separately bundled `mtg` binary as a child process, managed by `internal/mtproto/Manager` independently of xray-core. Traffic is accounted for by scraping `mtg`'s Prometheus metrics endpoint. This is structurally the same approach that AmneziaWG integration would require (bundling the `awg` or `amneziawg-go` tooling and managing it as a sidecar process). So the claim "we support only xray core" is no longer accurate as a blanket policy, and the user's observation is technically correct. That said, whether to add AmneziaWG via this approach is a maintainer decision about scope and maintenance burden, not merely a technical one. The existing discussion and any maintainer response on this topic belongs in #3017 and #2459, where the most context has accumulated. Closing as a duplicate. Continued discussion is best directed to those threads.
Author
Owner

@femdiya commented on GitHub (Jun 13, 2026):

I'd like to hear the developer's comment on this.

<!-- gh-comment-id:4699849639 --> @femdiya commented on GitHub (Jun 13, 2026): I'd like to hear the developer's comment on this.
Author
Owner
<!-- gh-comment-id:4700066375 --> @MHSanaei commented on GitHub (Jun 13, 2026): https://github.com/MHSanaei/3x-ui/issues/3017#issuecomment-4700065986
Author
Owner

@AlexeyLCP commented on GitHub (Jun 16, 2026):

+1!

<!-- gh-comment-id:4722896643 --> @AlexeyLCP commented on GitHub (Jun 16, 2026): +1!
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#3713
No description provided.