Dhanamerdeka i found some post on OLS website that says OLS can do that... but how to do that when we using aapanel with OLS on it?
Try to edit and add this to OLS config:
perClientConnLimit {
staticReqPerSec 0
#Specifies the maximum number of requests to static content coming from a single IP address that can be processed in a single second.
dynReqPerSec 0
#Specifies the maximum number of requests to dynamically generated content coming from a single IP address that can be processed in each second.
outBandwidth 0
#The maximum allowed outgoing throughput to a single IP address, regardless of the number of connections established
#the unit is (bytes/sec)
inBandwidth 0
#The maximum allowed incoming throughput from a single IP address, regardless of the number of connections established
#the unit is (bytes/sec)
softLimit 10000
#Specifies the soft limit of concurrent connections allowed from one IP
#This soft limit can be exceeded temporarily during "Grace Period (sec)"
hardLimit 10000
#The maximum allowed incoming throughput from a single IP address
blockBadReq 1
#Block IPs that keep sending badly-formated HTTP requests for the "Banned Period (sec)".
gracePeriod 15
#Specifies how long new connections can be accepted after the number of connections established from one IP is over the "Connection Soft Limit"
#the unit is (sec)
banPeriod 300
#Specifies how long new connections will be rejected from an IP if,
#after the "Grace Period (sec)" has elapsed, the number of connections is still more than the "Connection Soft Limit"
#the unit is (sec)
}
https://openlitespeed.org/kb/openlitespeed-directive-working-in-progress/#perClientConnLimit