For a self-hosted application with a valid SSL certificate and support for OAuth, what are the benefits that Cloudflare Access provides? From what I can tell, it also filters traffic to possibly block attacks? Can it even be used with a self-hosted app if you aren’t also running Cloudflare Tunnel? Is there a better alternative (that also integrates with major OAuth providers like Google, Github, etc) for self-hosters? Thanks for the help in understanding how this works.

  • adamshandB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Assuming it’s a Linux server at home and you can use SSH on your work computer, there’s a couple ways to do this.

    • Install a web based terminal client
    • Setup Cloudflare tunnels on your home server and use the the SSH proxy. I do this with a simple helper in ~/.ssh/config:
    Match host "*.cf"
      ProxyCommand /usr/local/bin/cloudflared access ssh --hostname $(echo %h | sed 's/\.cf$/.homelab.nz/')
      ForwardAgent yes