Subbdomain for Synology with proxy enabled

Hi There,

I’m new to Cloudflare DNS.

I have transfered my records from my registrar to Cloudflare.

My domain is: itbuck.nl

and i’ve created a subdomain thebatstorage.itbuck.nl

that points to my WAN IP. On my router i have a port forward from 443 to internal port 5501 from my NAS.

Works perfect, but when i turn on ‘proxied’ i can’t reach my NAS anymore on https://thebatstorage.itbuck.nl

Is there some setting i missed?

The records for my main website: https://itbuck.nl

also proxied and working fine.

With kind regards,

Buck Baggen

In Cloudflare under ‘SSL/TLS’ → ‘Overview’ is changed the ‘Your SSL/TLS encryption mode’ from ‘Flexible’ to ‘Full (strict)’.

Now i can acces my nas on my subdomain with the record set to ‘proxied’.

But now another problem, when i share a file from my nas, is het a downloadlink from my subdomain, so that’s good.

But when i try to login i get an red error bar (with no text in it), when i try several times i get in. And then when i want to start te download i get also errors, but soms it works.

When i turn ‘proxied’ off on the record, it works fine…

Somebody know a solution for this? I’m allready halfway there…

Maybe you must have to create a rule for bypass the cloudflare’s cache.