cloudflare / cloudflare/cloudflared

💡Proxy http requests adding the cloudlfare access token

Open
#1,242 1 comment 1 reaction 0 assignees View on GitHub
Priority: Normal Type: Feature Request
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.