Is connection from home server to cloudflare HTTPS or HTTP when using cloudflare tunnel? - eviltoast

I had self-hosted services on a Raspberry Pi using Docker in my college room. Since I couldn’t set up port forwarding, I couldn’t enable HTTPS for them. I know that I can still have https without port forwarding but it is not straightforward and difficult for me. And, I used cloudflare tunnel to access them from outside my college network. When I access them using cloudflare tunnel, it uses HTTPS. However, I found conflicting information online about the connection between the server and cloudflare, with some sources saying it’s HTTP and others saying it’s HTTPS. What’s true?

  • johntash
    link
    fedilink
    English
    arrow-up
    2
    ·
    23 days ago

    What you read online may have been referring to how cloudflare itself can always see the unencrypted traffic?

    Cloudflare tunnels are encrypted, but inside of that encrypted tunnel could be a regular http stream.