Traefik Ingress: Is blacklisting possible?

Whitelisting ips is possible with this annotation: "1.1.1.1/24"

Is it possible to do the same with blacklisting? would be nice to block some suspicous requests.

3

1 Answer

Unfortunately support for blocking ip addresses is not supported natively by traefik and any requests were declined with a comment:

We want to keep the IP filtering section as simple as possible and we think that your use case could be addressed differently.

We think that a blacklisting task can be better achieved using a firewall.

So, for now, and I insist on the "for now", we will decline your pull request.

For the same reason #7926 was declined.

You may be interested though in the those two plugins:

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like