EnigmaCurry / d.rymcg.tech

A collection of self-hosted docker-compose projects with Traefik reverse proxy, integrated auth, and administrative Makefiles for easy maintainance
MIT License
46 stars 9 forks source link

Add excluded ips and depth config in addition to ip sourcerange. #227

Open EnigmaCurry opened 1 month ago

EnigmaCurry commented 1 month ago

All the apps have X_IP_SOURCERANGE

They also need to have X_IP_STRATEGY_DEPTH and X_IP_STRATEGY_EXCLUDED_IPS

See https://doc.traefik.io/traefik/middlewares/http/ipallowlist/#ipstrategyexcludedips

This will let you specify a sourcerange to allow and further filter it based on exclusions.