[GH-ISSUE #3831] Feature Request: Inbound-level shared IP limit pool across multiple clients #2587

Closed
opened 2026-10-31 20:26:33 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @zenvor on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3831

Currently, the IP limit in 3x-ui is enforced per client (email).
When multiple clients within the same inbound belong to the same user,
the IP limit is counted independentl

Describe the solution you'd like

Add an inbound-level shared IP pool option.

When enabled, all clients within the same inbound share a single IP counter.
Regardless of which client a user connects through, all source IPs are counted
against one shared pool for the entire inbound.

Example with the new option:

Inbound (example) — shared IP limit: 2
  ├── client-A ─┐
  ├── client-B  ├── shared pool → max 2 unique IPs total
  ├── client-C  │
  └── client-D ─┘

Use Case

This is particularly useful when:

  • One inbound represents one real user (e.g., a subscriber or a trusted person)
  • Multiple clients within that inbound are distributed as "multiple nodes" to the same user
  • The admin wants to enforce a true per-user IP restriction, not a per-client one

Suggested UX

A new field on the inbound settings:

  • Shared IP Limit (optional, integer): if set, all clients in this inbound
    share this IP pool. Per-client IP limits are ignored when this is active.

If left empty, the existing per-client IP limit behavior is unchanged
(fully backward compatible).

Describe alternatives you've considered

No response

Checklist

  • This feature report is written entirely in English.
Originally created by @zenvor on GitHub (Feb 20, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3831 ### Is your feature request related to a problem? Currently, the IP limit in 3x-ui is enforced per client (email). When multiple clients within the same inbound belong to the same user, the IP limit is counted independentl ### Describe the solution you'd like Add an **inbound-level shared IP pool** option. When enabled, all clients within the same inbound share a single IP counter. Regardless of which client a user connects through, all source IPs are counted against one shared pool for the entire inbound. **Example with the new option:** ``` Inbound (example) — shared IP limit: 2 ├── client-A ─┐ ├── client-B ├── shared pool → max 2 unique IPs total ├── client-C │ └── client-D ─┘ ``` ### Use Case This is particularly useful when: - One inbound represents one real user (e.g., a subscriber or a trusted person) - Multiple clients within that inbound are distributed as "multiple nodes" to the same user - The admin wants to enforce a true per-user IP restriction, not a per-client one ### Suggested UX A new field on the inbound settings: - **Shared IP Limit** (optional, integer): if set, all clients in this inbound share this IP pool. Per-client IP limits are ignored when this is active. If left empty, the existing per-client IP limit behavior is unchanged (fully backward compatible). ### Describe alternatives you've considered _No response_ ### Checklist - [x] This feature report is written entirely in English.
bsakaguchi 2026-10-31 20:26:33 +07:00
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#2587
No description provided.