mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5197] [Feature]: ip limit #3646
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#3646
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 @Mahdips on GitHub (Jun 11, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5197
Is your feature request related to a problem?
salam age mishe ye ghesmat vase har clirnt bashe ke bshe vasash ip limit gozasht va vaghean ham kar kone
Describe the solution you'd like
salam age mishe ye ghesmat vase har clirnt bashe ke bshe vasash ip limit gozasht va vaghean ham kar kone
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 (Jun 11, 2026):
سلام! این ویژگی از قبل در پنل وجود داره — نیازی به پیادهسازی جدید نیست.
چطور IP Limit رو برای هر کلاینت فعال کنیم:
مرحله ۱ — فعال کردن Access Log در Xray:
noneبه./access.logتغییر بدهبعد از این تغییر، فیلد Limit IP در فرم ایجاد/ویرایش کلاینت ظاهر میشه و میتونی برای هر کلاینت جداگانه یک عدد مجاز تعیین کنی.
مرحله ۲ — نصب Fail2ban برای بلاک واقعی:
فیلد Limit IP به تنهایی فقط نظارت میکنه. برای اینکه IP های اضافه واقعاً بلاک بشن، باید Fail2ban رو نصب کنی:
x-uiرو بزناین دو مرحله رو که انجام بدی، IP Limit کاملاً فعال و کارا میشه.
این موضوع قبلاً در #4995 و #5180 هم مطرح شده. به عنوان تکراری بستیم.