[GH-ISSUE #4333] Speed Limit and Ip limit #2953

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

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

Please add Speed limit and ip limit for Clients

Describe the solution you'd like

Please add Speed limit and ip limit for Clients

Describe alternatives you've considered

No response

Checklist

  • This feature report is written entirely in English.
Originally created by @JaniduXxX on GitHub (May 13, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4333 ### Is your feature request related to a problem? Please add Speed limit and ip limit for Clients ### Describe the solution you'd like Please add Speed limit and ip limit for Clients ### Describe alternatives you've considered _No response_ ### Checklist - [x] This feature report is written entirely in English.
bsakaguchi 2026-10-31 20:29:08 +07:00
Author
Owner

@alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026):

Hi, IP restriction has been added. To enable it, go to the terminal and type x-ui. Enter 21 and type 1 and enter. Then press the enter key, and when you see the success message, go to the web panel and configure X-Ray. Go to the reports or statistics section and in the section that is probably called path, click on the menu and select ./access.log and finally save and restart X-Ray. You are right about the speed limit, it should be added. By the way, can you explain how to tunnel? Thanks.

<!-- gh-comment-id:4438771296 --> @alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026): Hi, IP restriction has been added. To enable it, go to the terminal and type x-ui. Enter 21 and type 1 and enter. Then press the enter key, and when you see the success message, go to the web panel and configure X-Ray. Go to the reports or statistics section and in the section that is probably called path, click on the menu and select ./access.log and finally save and restart X-Ray. You are right about the speed limit, it should be added. By the way, can you explain how to tunnel? Thanks.
Author
Owner

@JaniduXxX commented on GitHub (May 13, 2026):

Hello , I need IP limit for only selected clients

<!-- gh-comment-id:4438798753 --> @JaniduXxX commented on GitHub (May 13, 2026): Hello , I need IP limit for only selected clients
Author
Owner

@alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026):

Hello , I need IP limit for only selected clients

There is also a similar option. Just find the IP restriction feed when adding a customer and enter the desired number.

<!-- gh-comment-id:4438845724 --> @alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026): > Hello , I need IP limit for only selected clients There is also a similar option. Just find the IP restriction feed when adding a customer and enter the desired number.
Author
Owner

@alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026):

Hello , I need IP limit for only selected clients

There is also a similar option. Just find the IP restriction feed when adding a customer and enter the desired number.

<!-- gh-comment-id:4438911855 --> @alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026): > Hello , I need IP limit for only selected clients There is also a similar option. Just find the IP restriction feed when adding a customer and enter the desired number.
Author
Owner

@JaniduXxX commented on GitHub (May 13, 2026):

Image
<!-- gh-comment-id:4438959424 --> @JaniduXxX commented on GitHub (May 13, 2026): <img width="957" height="748" alt="Image" src="https://github.com/user-attachments/assets/7fa3004b-6373-4514-ad4b-f5aa450bad08" />
Author
Owner

@alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026):

Image

Please don't send pictures. I'm blind.

<!-- gh-comment-id:4439090838 --> @alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026): > <img alt="Image" width="957" height="748" src="https://private-user-images.githubusercontent.com/107356801/591635650-7fa3004b-6373-4514-ad4b-f5aa450bad08.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Nzg2NjI1MTIsIm5iZiI6MTc3ODY2MjIxMiwicGF0aCI6Ii8xMDczNTY4MDEvNTkxNjM1NjUwLTdmYTMwMDRiLTYzNzMtNDUxNC1hZDRiLWY1YWE0NTBiYWQwOC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNTEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDUxM1QwODUwMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYzI4ZGM4MjZiNzNhZTNhYzYxNzNlNzc4ZWRhM2FmOGUwOGRhYzEzYTBmNDdhZWFlYTFkOGM4MjFmMDhlNmI5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZqcGVnIn0.B0oQelA-uQ3AvXHPUkCyqWuVGcKQzTZlGSA3N_Tlrrg"> Please don't send pictures. I'm blind.
Author
Owner

@JaniduXxX commented on GitHub (May 13, 2026):

Choose an option: 8
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2026-05-13 10:04:47 UTC; 5s ago
Duration: 731ms
Docs: man:fail2ban(1)
Main PID: 685570 (code=exited, status=255/EXCEPTION)
CPU: 242ms

May 13 10:04:46 knight systemd[1]: Started fail2ban.service - Fail2Ban Service.
May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,106 fail2ban [685570]: ERROR Fail>
May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,109 fail2ban [685570]: ERROR Asyn>
May 13 10:04:47 knight systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
May 13 10:04:47 knight systemd[1]: fail2ban.service: Failed with result 'exit-code'.
lines 1-13/13 (END)

<!-- gh-comment-id:4439754565 --> @JaniduXxX commented on GitHub (May 13, 2026): Choose an option: 8 × fail2ban.service - Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2026-05-13 10:04:47 UTC; 5s ago Duration: 731ms Docs: man:fail2ban(1) Main PID: 685570 (code=exited, status=255/EXCEPTION) CPU: 242ms May 13 10:04:46 knight systemd[1]: Started fail2ban.service - Fail2Ban Service. May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,106 fail2ban [685570]: ERROR Fail> May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,109 fail2ban [685570]: ERROR Asyn> May 13 10:04:47 knight systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION May 13 10:04:47 knight systemd[1]: fail2ban.service: Failed with result 'exit-code'. lines 1-13/13 (END)
Author
Owner

@alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026):

Choose an option: 8 × fail2ban.service - Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2026-05-13 10:04:47 UTC; 5s ago Duration: 731ms Docs: man:fail2ban(1) Main PID: 685570 (code=exited, status=255/EXCEPTION) CPU: 242ms

May 13 10:04:46 knight systemd[1]: Started fail2ban.service - Fail2Ban Service. May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,106 fail2ban [685570]: ERROR Fail> May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,109 fail2ban [685570]: ERROR Asyn> May 13 10:04:47 knight systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION May 13 10:04:47 knight systemd[1]: fail2ban.service: Failed with result 'exit-code'. lines 1-13/13 (END)

To fix this error, the following methods may work, although I have not encountered this problem so far. 1: Restart the panel and fale2ban 2: Back up the data and rebuild the server (not recommended) I do not guarantee that this method will work, but usually reinstalling solves the problem. But I still do not recommend rebuilding because there is a possibility of a problem with the database file. Or you can even remove the ip restrictions via terminal and select 21 and then 10 and reinstall.

<!-- gh-comment-id:4440040721 --> @alinasrollahzadeh405-sudo commented on GitHub (May 13, 2026): > Choose an option: 8 × fail2ban.service - Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2026-05-13 10:04:47 UTC; 5s ago Duration: 731ms Docs: man:fail2ban(1) Main PID: 685570 (code=exited, status=255/EXCEPTION) CPU: 242ms > > May 13 10:04:46 knight systemd[1]: Started fail2ban.service - Fail2Ban Service. May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,106 fail2ban [685570]: ERROR Fail> May 13 10:04:47 knight fail2ban-server[685570]: 2026-05-13 10:04:47,109 fail2ban [685570]: ERROR Asyn> May 13 10:04:47 knight systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION May 13 10:04:47 knight systemd[1]: fail2ban.service: Failed with result 'exit-code'. lines 1-13/13 (END) To fix this error, the following methods may work, although I have not encountered this problem so far. 1: Restart the panel and fale2ban 2: Back up the data and rebuild the server (not recommended) I do not guarantee that this method will work, but usually reinstalling solves the problem. But I still do not recommend rebuilding because there is a possibility of a problem with the database file. Or you can even remove the ip restrictions via terminal and select 21 and then 10 and reinstall.
Author
Owner

@JaniduXxX commented on GitHub (May 16, 2026):

I FIXED IT THANK YOU

<!-- gh-comment-id:4465449542 --> @JaniduXxX commented on GitHub (May 16, 2026): I FIXED IT THANK YOU
Author
Owner

@myxeni64b commented on GitHub (Jun 8, 2026):

Hi
Try this -> https://github.com/myxeni64b/xui-bw-guard

<!-- gh-comment-id:4644625241 --> @myxeni64b commented on GitHub (Jun 8, 2026): Hi Try this -> https://github.com/myxeni64b/xui-bw-guard
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#2953
No description provided.