How to limit number of connections from 1 IP?

If I'd like to allow 1 IP to connect to my server no more than 20 times per minute - how can I do it?

 

 

 

 

Top