
Accessing Servers Behind Strict Firewalls Using Cloudflare
Notes on Using Cloudflare Tunnel I’ve been using Cloudflare Tunnel in a few different setups. One use case is remote development. I run cloudflared on my machine and expose SSH through a tunnel. The server establishes an outbound connection to Cloudflare. Access is controlled through Cloudflare Access with OTP. Cloudflare also provides browser-based SSH. From a phone, including an iPhone, I can open Safari, authenticate, and obtain a terminal session directly in the browser. No separate SSH client is required in that scenario. SSH Flow flowchart LR A[Local Machine] --> B[cloudflared] B --> C[Cloudflare Edge] C --> D["Access Policy (OTP)"] D --> E[Browser SSH Session] The local machine maintains the outbound tunnel. Authentication is handled at the edge before a session is established. Exposing Web Services I have also used Cloudflare Tunnel to expose small web services from networks where I do not control public IP configuration. The machine connects outward to Cloudflare, and traffic
Continue reading on Dev.to
Opens in a new tab

