Hello,

Long time lurker, first time poster and eternal newbie in selfhosting.

I have installed cloudflare tunnel in order to allow my Emby installation to be reached externally. (Previously was using tailscale but now trying this solution to expand my ‘reach’ and include my parents houshold)

The tunnel with email OTP works like a charm, but the access seems to be browser specific, so the Emby app doesn’t seem to be able to connect (as it faces the email OTP challenge I suppose)

Is there a way to combine both?

I actually went down the path of writing a little script that tries to authorize the IP of someone that managed to pass the OTP challenge via browser. ( I get the user’s IP and update the cloudflare policy via its API)

Seems to be overkill, any suggestions?

Thx

  • Dust0741@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    16 days ago

    I have setup the same thing as a temp measure, but i believe that something like Authelia or Keycloak should replace and be better than Cloudflare’s email OTP.

    • athes@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      15 days ago

      But this implies the check happens on my server right ? Which probably makes sense for advanced hosters.