Routing applications network traffic with CloudFlare Access header over proxy
I could not find a way for specific applications to access websites controlled by CloudFlare Access.
Example : Github Actions Runner can't authenticate with a GHE server that's behind CloudFlare Access
- Cloudflared (to get access token)
- MitmProxy & CFAP plugin(for newbies)
- ProxyChain (Mac users'll disable SIP )
- Get Cloudflare Access Token and save to token.conf
cloudflared access login https://git.company.com
- Modify target URL on CFAP.py
- Start mitmproxy with CFAP Plugin
sudo ./mitmweb -s CFAP.py
- Use proxychains with which app need access the app
proxychains4 ./config.sh --url https://git.company.com/enterprises/company --token LAPSEKİLİTAYFUR