how to limit one ip connect to my server

how to limit one ip connect to my server (apache )? and auto blocked when it is overload my server?

Please help me!
Thank you very much

 

 

 

 

Top