[GH-ISSUE #4583] [Feature]: Traffic per inbound per client #3147

Closed
opened 2026-10-31 20:30:23 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @hobbes3 on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4583

Right now, the bandwidth info is per client as shown here:

Image Image

Describe the solution you'd like

Since rented VPCs often have different bandwidth limits (X GB/month), I would like to know how much bandwidth a client is using per inbound, which will directly tell me the bandwidth per server (1 inbound -> 1 server). Perhaps show this granular stats in the "more information" page (the 2nd pic).

For example:

2.5 MB san-jose-vless (vless:443)
1.6 MB san-jose-hysteria (hysteria:443)
local: 4.1 MB
0.5 MB hong-kong-vless (vless:443)
1.5 MB hong-kong-hyseria (hysteria:443)
hong-kong: 2.0 MB
total: 6.1 MB

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?

Frontend (UI / panel pages)

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 @hobbes3 on GitHub (May 26, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4583 ### Is your feature request related to a problem? Right now, the bandwidth info is per client as shown here: <img width="2918" height="144" alt="Image" src="https://github.com/user-attachments/assets/4db738b3-8f32-4f84-86ab-3d55843e8022" /> <img width="1269" height="1286" alt="Image" src="https://github.com/user-attachments/assets/377b2a9c-463a-4ec8-91fe-c3c8eb9598ab" /> ### Describe the solution you'd like Since rented VPCs often have different bandwidth limits (X GB/month), I would like to know how much bandwidth a client is using per inbound, which will directly tell me the bandwidth per server (1 inbound -> 1 server). Perhaps show this granular stats in the "more information" page (the 2nd pic). For example: ``` 2.5 MB san-jose-vless (vless:443) 1.6 MB san-jose-hysteria (hysteria:443) local: 4.1 MB 0.5 MB hong-kong-vless (vless:443) 1.5 MB hong-kong-hyseria (hysteria:443) hong-kong: 2.0 MB total: 6.1 MB ``` ### 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? Frontend (UI / panel pages) ### 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:30:23 +07:00
Author
Owner

@Ramazik commented on GitHub (May 26, 2026):

Did I understand your question correctly? Do you want to be able to see how much traffic each client used on each inbound assigned to them in their statistics?

If I understood your question correctly, I agree with you, as I was also considering a similar feature. This could be useful in different situations, despite the fact that on the inbounds page each of them has general traffic information.

I wouldn't mind seeing this in the main statistics window if each client's assigned inbounds were stacked one above the other, not one after the other, as in the screenshot. If this is difficult to implement, then at least it could be done on the "additional information" page, as you suggest.

At the same time, I wanted to make this request a little later, as there are currently many bugs that need to be fixed before such features can be added. I've already reported some of them. There are two more that I plan to report later.

<!-- gh-comment-id:4541483336 --> @Ramazik commented on GitHub (May 26, 2026): Did I understand your question correctly? Do you want to be able to see how much traffic each client used on each inbound assigned to them in their statistics? If I understood your question correctly, I agree with you, as I was also considering a similar feature. This could be useful in different situations, despite the fact that on the inbounds page each of them has general traffic information. I wouldn't mind seeing this in the main statistics window if each client's assigned inbounds were stacked one above the other, not one after the other, as in the screenshot. If this is difficult to implement, then at least it could be done on the "additional information" page, as you suggest. At the same time, I wanted to make this request a little later, as there are currently many bugs that need to be fixed before such features can be added. I've already reported some of them. There are two more that I plan to report later.
Author
Owner

@hobbes3 commented on GitHub (May 26, 2026):

@Ramazik Well, from most granular to least:

  1. Traffic per up/down per inbound per client
  2. Traffic per inbound per client
  3. Traffic per server per client
  4. Traffic per client <- we are here
  5. Traffic per server <- we already have this

I'll leave it up to the devs to how they want to display the more granular traffic stats, but I think having it in "More information" page is fine since I don't often need to check per inbound/server per client. But I want to know these stats in case I noticed a client using the "low latency, low bandwidth" server (my Hong Kong server with CN2 GIA) too much vs the "high latency, high bandwidth" server (USA server).

For reference, my Hong Kong server is limited to 500 GB/month @ 15 down, 10 up Mbps at ~35 ms latency, while my USA server has 3 TB/month @ 1 Gbps at ~150 ms latency. But with the current implementation, I can't differentiate the traffic to each server for a client that has access to both proxies via one sub. I could create separate subs per proxy, but it'll clutter the clients list.

<!-- gh-comment-id:4543438774 --> @hobbes3 commented on GitHub (May 26, 2026): @Ramazik Well, from most granular to least: 1. Traffic per up/down per inbound per client 2. Traffic per inbound per client 3. Traffic per server per client 4. Traffic per client <- we are here 5. Traffic per server <- we already have this I'll leave it up to the devs to how they want to display the more granular traffic stats, but I think having it in "More information" page is fine since I don't often need to check per inbound/server per client. But I want to know these stats in case I noticed a client using the "low latency, low bandwidth" server (my Hong Kong server with CN2 GIA) too much vs the "high latency, high bandwidth" server (USA server). For reference, my Hong Kong server is limited to 500 GB/month @ 15 down, 10 up Mbps at ~35 ms latency, while my USA server has 3 TB/month @ 1 Gbps at ~150 ms latency. But with the current implementation, I can't differentiate the traffic to each server for a client that has access to both proxies via one sub. I could create separate subs per proxy, but it'll clutter the clients list.
Author
Owner

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

This is marked as completed, but I don't see how to view the traffic per inbound per client?

<!-- gh-comment-id:4697275770 --> @Prurite commented on GitHub (Jun 13, 2026): This is marked as completed, but I don't see how to view the traffic per inbound per client?
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#3147
No description provided.