cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

💡Proxy http requests adding the cloudlfare access token

Open 0xalex88 opened this issue 9 months ago • 0 comments

Describe the feature you'd like To use CLI applications that cannot add a custom header to the requests, it would be nice to provide a proxy like cloudflard access tcp that adds the authentication token to each proxied request. The usage would be something like:

cloudflared access http --hostname cloudflare-access.site.com --url localhost:8080

and have other CLI or any application in general just use http://localhost:8080 as the endpoint.

Describe alternatives you've considered Right now the only way to have something like that working is to set the tunnel protocol to TCP and use cloudflared access tcp, that works but visiting the original protected endpoint doesn't work from the browser anymore

0xalex88 avatar May 09 '24 18:05 0xalex88