First off Traefik is awesome. It took me a while to get it operational, but now that I do it's a game changer for accessing services. I already leverage Pi-hole to manage my local DNS entries for my services, and I would like to determine if Traefik can route a service which sits on a different subnet than Traefik. I appreciate any support the community can provide! Thanks!
Traefik is above the network layer. So any request that can come in via TCP/IP can be routed to a target service that is reachable via TCP/IP.
If you want to know if Traefik can route to an external domain or IP, yes it can. Use a dynamic config file for that (example).
Thanks for confirming @bluepuma77. To expand on my use case - the basis of my question was because I previously updated my config.yml file for Traefik to include the subnet of 192.168.8.0/16 which includes my service. When I attempt to reach the local DNS address which is included in my Traefik configuration for the service I receive the 404 Bad Gateway error. I am receiving a LetsEncrypt certificate.
default-whitelist:
ipAllowList:
sourceRange:
- "10.0.0.0/8"
- "192.168.0.0/16"
- "192.168.8.0/16"
- "172.0.0.0/12"