I would like to achieve a working scenario where I will be able to restrict access only for certain countries per service. My host has configured couple IPSETs to represent certain regions and I would like to be able to refer to them from the traefik label configuration settings to restrict access to a given service.
It is impossible to do it via
traefik.http.middlewares.test-ipwhitelist.ipwhitelist.sourcerange=PREFIX for example..
and so and so..
So goal is to achieve this via Traefik label configuration using middleware which would communicate with host's ipsets to understand the reference (e.g.
country_germany) and then perform cofnigured action (
Is this possible to achieve now or is it someething traefik devs can look into? Much appreciated, Thanks