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:
parent
3a278690f7
commit
6ad3392056
1 changed files with 3 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ services:
|
||||||
traefik.http.routers.traefik.service: api@internal
|
traefik.http.routers.traefik.service: api@internal
|
||||||
traefik.http.routers.traefik.middlewares: tinyauth
|
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:
|
networks:
|
||||||
homelab:
|
homelab:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue