Limit connections by a single IP address

Good afternoon,

I will use Traefik as a proxy for an Apache 2 web server, with Docker Swarm.

Previously I had my security controls in the 'mod_qos' apache module, with settings like "QS_SrvMaxConnPerIP".

How do I limit the number of connections via a certain IP on traefik?

I've already tried settings like RateLimit and InFlightReq, but their settings are global and not for a specific IP.

Not sure if such functionality is available as native Traefik middleware.

You can check existing 3rd party plugins or create your own plugin.