-
Would you mind sharing how you have your cloudflare setup for routing to dns? Do you point to your cloudflare tunnel ? Do you have any setttings on your router for handling private ip resolution? and sort of visual with examples would be helpful! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
With the setup I'm running now I don't have to configure anything in my router. I just have a DNS CNAME-record pointing The DNS-record for
You can find the You can find the cloudflared config I'm using here, i.e. not configured through the Zero Trust dashboard. Keep in mind that CF doesn't like you streaming huge amounts of data through their network, so for some stuff I also have port 443 open on my router to the Gateway Service IP. I assume you already have a Cloudflare tunnel up and running, but if not I have a very brief description on how to get it up and running here. A rough sketch of the flow would be: flowchart TB
Web --> DNS --> CF-tunnel ---> Gateway-Service --> Gateway --> HTTPRoute
DNS --> External-IP --> Router --> Internal-IP --> Gateway-Service
|
Beta Was this translation helpful? Give feedback.
-
Great this is what I have.. Been troubleshooting issues for a few days why external hosted services didnt work... One last question |
Beta Was this translation helpful? Give feedback.
With the setup I'm running now I don't have to configure anything in my router. I just have a DNS CNAME-record pointing
to the cloudflared-tunnel which then routes the traffic to the LoadBalancer Service connected to the Gateway.
The DNS-record for
*.stonegarden.dev
looks likeYou can find the
TUNNEL_ID
under Networks > Tunnels in CF Zero Trust.If you configure the tunnel through the Zero Trust dashboard I think you also get a DNS entry for it automatically.
You can find the cloudflared config I'm using here, i.e. not configured through the Zero Trust dashboard.
Keep in mind that CF doesn't like you str…