this post was submitted on 23 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 11 months ago
MODERATORS
 

I have a Traefik reverse proxy configured on my internal network and it is successfully routing communication via an internal hostname address.

I want to add external access using a cloudflare tunnel. I have the tunnel configured and route traffic if I go directly to the host but if i try to route via the traefik reverse proxy i get nothing.

How can i diagnose where the traffic it going via the CF tunnel to i can find where my system is falling over?

top 2 comments
sorted by: hot top controversial new old
[โ€“] dasunsrule32@alien.top 1 points 10 months ago

Try making sure that x-forwarded-for is enabled in Traefik, then point the tunnel hostname to the internal DNS entry and see if that works.

[โ€“] Sivivatu@alien.top 1 points 10 months ago

I'm running the apps in docker with all the apps in the same docker network. I wasn't to use traefik so I can also add authentication (authentik specifically) to force login requirements.

I can ping the traefik up and hostname from the Cf tunnel container. But when I assign the DBs route through the tunnel (to either the IP or the host name) I still can't reach traefik (there are no calls coming into the access logs).