mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4054] Add up_mbps, down_mbps, and ignore_client_bandwidth settings for Hysteria2 protocol #2750
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#2750
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 @mrnickson-hue on GitHub (Apr 21, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4054
Is your feature request related to a problem?
In 3X-UI v2.9.0, Hysteria2 protocol is supported, but there is no way to configure server-side bandwidth limits (up_mbps, down_mbps) or the ignore_client_bandwidth flag. These settings are essential for traffic control, but they are mutually exclusive according to Hysteria2 documentation.
Currently, Hysteria2 inbound in 3X-UI only allows basic fields. No bandwidth-related options are available.
Please add two mutually exclusive modes for Hysteria2 bandwidth control in the inbound configuration UI:
Mode 1: Brutal (fixed rate limiting)
Mode 2: BBR (ignore client bandwidth)
The UI should prevent enabling both modes simultaneously. This can be implemented as:
A radio button group: "Bandwidth control mode" → "Brutal (fixed limits)" or "BBR (ignore client bandwidth)"
Or a checkbox "Ignore client bandwidth" that disables the up_mbps/down_mbps input fields when checked.
Example config snippets
Mode 1 – Brutal (fixed limits):
Mode 2 – BBR (ignore client bandwidth):
P.S.: Hysteria2 official docs state: "ignore_client_bandwidth and up_mbps/down_mbps are mutually exclusive" so mutual exclusivity must be enforced in UI to prevent invalid configs that would break the protocol.
Describe the solution you'd like
Describe alternatives you've considered
Checklist
@MHSanaei commented on GitHub (Apr 21, 2026):
https://xtls.github.io/config/inbounds/hysteria.html