feat(traefik): Add local-only IP allowlist middleware

Add IP allowlist middleware to restrict services to local network
(10.0.0.0/16). Allows services to be protected from external access
while remaining accessible on LAN.
This commit is contained in:
Eduardo Figueroa 2025-12-04 18:43:20 +00:00
parent 3a278690f7
commit 6ad3392056

View file

@ -42,6 +42,9 @@ services:
traefik.http.routers.traefik.service: api@internal
traefik.http.routers.traefik.middlewares: tinyauth
# IP Allowlist Middleware for local network only services
traefik.http.middlewares.local-only.ipallowlist.sourcerange: 10.0.0.0/16
networks:
homelab:
external: true