I am running Traefik on a VPS that has a Site-To-Site wireguard tunnel to my homeserver. I am running a couple of bandwidth intensive services directly on the VPS, some other i.e. compute intensive stuff, on my homeserver.
Ideally, Traefik would just scan the labels of all my docker containers running on the VPS, match their rules, route applicable requests, do TLS termination for them and - if no match is found - pass off anything, untouched to the homeserver.
I found out that this can be done - when using http requests - by giving the local rules a higher priority and make a catch-all with a lower priority to the homeserver.
Optimally, the fallback would just do a TCP passthrough, so the remote host can take care of redirecting http/https, do TLS termination and so on.
Unfortunately it seems that this is not possible with traefik?! if my research is correct, TCP and HTTP routers are handled independently, with priorities only applicable for TCP rules with other TCP rules and http rules with other http rules but not mixed TCP/HTTP.
On top of that, TCP rules are handled before http rules, so it's technically not possible to have a TCP catch-all router AFTER http routers: nothing would ever reach the local http hosts even if there is a matching rule.
So what are my options here to route any host unknown to the VPS' Traefik, regardless if http/https request, to the Homeserver?