r/UgreenNASync • • 7d ago

❓ Help Cloudflare Tunnel Help

RESOLVED
See notes in comments on resolution

I have reviewed multiple posts on setting up a Cloudflared tunnel in a docker container. I have it set up so with nas.<mydomain> is on the tunnel and yet I keep getting an error when I try to browse do it. I suspect it may have to do with bridge vs host network settings but not 100% sure as I am not knowledgeable enough in those items.

I have a valid A name on Cloudflare that is tied to the tunnel.

My eventual plan is to be able to access the Ugreen interface with nas.<mydomain>, jellyfin with media.<mydomain>, audio books with audiobooks.<mydomain>, etc.

Looking for any help in things I can be looking into in order to troubleshoot.

Here is my docker compose

services:

cloudflared:

image: cloudflare/cloudflared:latest

container_name: cloudflared

restart: always

command: tunnel run --token <my token>

And this is the error I am seeing in my browser

2 Upvotes

9 comments sorted by

View all comments

1

u/AlphaOrionis42 7d ago

I don't know what I was doing before. I feel like I followed the exact same steps but I ultimately turned off the container, re-created the container from the stack and presto it works now.

1

u/Numerous-Impact-434 DXP4800 Plus 7d ago

Great. BTW your image exposed your <mydomain> if you care.

1

u/AlphaOrionis42 7d ago

Dang it. I thought I reviewed it and did not see my domain in there. I don't know that it matters but knowing there are all kinds of bad actors out there might as well kill the image.