mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5818] [Feature]: Feature request: Add support for AmneziaWG / extended WireGuard parameters #4043
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#4043
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 @kuzzrus on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5818
Is your feature request related to a problem?
Hello.
I would like to suggest adding support for extended WireGuard-compatible parameters used by AmneziaWG.
Currently, 3x-ui already has WireGuard-related functionality, but it does not expose or preserve AmneziaWG-specific obfuscation parameters. Because of that, it is not possible to create or manage AmneziaWG-compatible configurations directly from the panel.
Requested parameters
Please consider adding support for the following fields:
Jc =
Jmin =
Jmax =
S1 =
S2 =
S3 =
S4 =
H1 =
H2 =
H3 =
H4 =
I1 =
And, if applicable in future versions:
I2 =
I3 =
I4 =
I5 =
Why this is useful
AmneziaWG is based on WireGuard but adds additional parameters for traffic obfuscation and compatibility with AmneziaWG clients.
Adding support for these fields would allow 3x-ui to manage AmneziaWG-style configurations in the same way it already manages other inbound/client configurations.
This would be useful for users who want to manage:
regular WireGuard configurations;
AmneziaWG 1.x configurations;
AmneziaWG 2.0 configurations;
client QR codes and exported configs with the required extended fields;
multiple peers from the same web panel.
Possible implementation
This could be implemented in one of two ways:
Extend the current WireGuard configuration UI to optionally support AmneziaWG fields.
Add a separate protocol/profile type, for example amneziawg, while keeping regular WireGuard unchanged.
The second option may be safer because it avoids mixing standard WireGuard and AmneziaWG behavior.
Backend considerations
Since these parameters are not part of standard WireGuard, the panel would probably need to support one of the following backends:
awg / awg-quick;
amneziawg-go;
AmneziaWG kernel module;
or another compatible backend.
It would also be helpful if 3x-ui could:
generate server and peer keys;
generate valid AmneziaWG client configs;
show QR codes;
add/remove peers;
enable/disable peers;
preserve custom AWG parameters when editing configs;
optionally auto-generate sane default obfuscation parameters.
Backward compatibility
This feature should not affect existing standard WireGuard users.
If AmneziaWG support is added as an optional mode or separate protocol type, existing WireGuard configurations can remain unchanged.
Summary
Please consider adding native or optional support for AmneziaWG / extended WireGuard parameters in 3x-ui.
This would make 3x-ui a much more complete management panel for users who need both Xray-based protocols and WireGuard-compatible protocols with AmneziaWG support.
Thank you for your work on this project.
Describe the solution you'd like
Example config fields
Example of the additional server-side fields:
[Interface]
PrivateKey = ...
Address = 10.8.0.1/24
ListenPort = 443
Jc = 4
Jmin = 40
Jmax = 70
S1 = ...
S2 = ...
S3 = ...
S4 = ...
H1 = ...
H2 = ...
H3 = ...
H4 = ...
I1 = ...
Example peer:
[Peer]
PublicKey = ...
PresharedKey = ...
AllowedIPs = 10.8.0.2/32
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 5, 2026):
This looks like a duplicate of #3017, which tracks the same request (AmneziaWG / extended WireGuard obfuscation parameters —
Jc,Jmin,Jmax,S1-S4,H1-H4, etc.). Several related requests have also been filed and closed as duplicates of it (#5237, #5300, #5113, #4849, #5090, #3330, #2459).Please continue the discussion on #3017 so all interest and details are tracked in one place.
This reply was generated automatically. A maintainer may follow up.