[GH-ISSUE #2401] Ip limit is not limiting.😟 #1661

Closed
opened 2026-10-31 20:20:17 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @naymintun800 on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2401

I'm sorry if this is a stoopid question and I've search in the thread up and down can't seem to find a solution for this. I'm not a dev. I've installed fail2ban and I have added ./access.log to xray configuration but for some reason IP limit function is not working properly. I can still use two of my phone that has the same Configuration at the same time. Help me out here...😵‍💫
Screenshot 2024-06-14 215122

Originally created by @naymintun800 on GitHub (Jun 14, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2401 I'm sorry if this is a stoopid question and I've search in the thread up and down can't seem to find a solution for this. I'm not a dev. I've installed fail2ban and I have added ./access.log to xray configuration but for some reason IP limit function is not working properly. I can still use two of my phone that has the same Configuration at the same time. Help me out here...😵‍💫 ![Screenshot 2024-06-14 215122](https://github.com/MHSanaei/3x-ui/assets/44871250/50c4363e-c73c-4773-9b25-afbb9842e1cc)
bsakaguchi 2026-10-31 20:20:17 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@MHSanaei commented on GitHub (Jun 14, 2024):

Yes, they can use it at the same time for at least 30 seconds, then the second one will be banned with fail2ban.
You can change the ban time in the bash menu.

<!-- gh-comment-id:2168685220 --> @MHSanaei commented on GitHub (Jun 14, 2024): Yes, they can use it at the same time for at least 30 seconds, then the second one will be banned with fail2ban. You can change the ban time in the bash menu.
Author
Owner

@naymintun800 commented on GitHub (Jun 15, 2024):

I very sure fail2ban is not banning the ip because I've been connected to the same config with 3 different devices for the past 12 hours and nobody is getting banned.

<!-- gh-comment-id:2169210746 --> @naymintun800 commented on GitHub (Jun 15, 2024): I very sure fail2ban is not banning the ip because I've been connected to the same config with 3 different devices for the past 12 hours and nobody is getting banned.
Author
Owner

@MHSanaei commented on GitHub (Jun 15, 2024):

Different devices with the same IP address don't get banned.

<!-- gh-comment-id:2169566264 --> @MHSanaei commented on GitHub (Jun 15, 2024): Different devices with the same IP address don't get banned.
Author
Owner

@naymintun800 commented on GitHub (Jun 15, 2024):

I'm sorry.. In Iogs I see the Ip is getting banned "2024/06/15 17:41:14 BAN [Email] = 8i1lsoed [IP] = 37.111.14.97 banned for 1800 seconds." But I can still access the vpn with that ip. And is not the same IP this time.

<!-- gh-comment-id:2170420700 --> @naymintun800 commented on GitHub (Jun 15, 2024): I'm sorry.. In Iogs I see the Ip is getting banned "2024/06/15 17:41:14 BAN [Email] = 8i1lsoed [IP] = 37.111.14.97 banned for 1800 seconds." But I can still access the vpn with that ip. And is not the same IP this time.
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#1661
No description provided.