tangchunwu/skill-hub/cf-tunnel-deploy

Claude Code and agent skill by tangchunwu/skill-hub

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy local services to public internet via Cloudflare Tunnel with custom domain. Use when user wants to expose local Docker service to public, set up Cloudflare tunnel, configure cloudflared, or make local service accessible via custom domain. Handles DNS pollution issues, SSL configuration, and Docker Compose integration.

Install

npx vskill@latest install tangchunwu/skill-hub/cf-tunnel-deploy

SKILL.md

The same SKILL.md was published earlier as tangchunwu/skill-hub/cf-tunnel-deploy.

Cloudflare Tunnel Deploy

Deploy local services to public internet using Cloudflare Tunnel with custom domain.

Prerequisites

  • Cloudflare account with a domain
  • Docker installed
  • cloudflared CLI installed locally

Quick Start Workflow

1. Login to Cloudflare (one-time)
bash
cloudflared tunnel login

This creates ~/.cloudflared/cert.pem.

2. Create Named Tunnel
bash
cloudflared tunnel create <tunnel-name>

This creates credentials file: ~/.cloudflared/<tunnel-id>.json

3. Create Tunnel Config

Create ~/.cloudflared/config-<service>.yml:

yaml
tunnel: <tunnel-id>
credentials-file: /etc/cloudflared/<tunnel-id>.json
protocol: http2
ingress:
- hostname: <subdomain>.<domain>
service: http://host.docker.internal:<port>
originRequest:
connectTimeout: 180s
noTLSVerify: true
- service: http_status:404
4. Add DNS Route
bash
cloudflared tunnel route dns -f <tunnel-id> <subdomain>.<domain>
5. Configure Cloudflare SSL (CRITICAL)

In Cloudflare Dashboard: SSL/TLS -> Overview -> Set to Flexible (not Full).

6. Add to Docker Compose

See references/docker-compose.md for template.

Common Issues & Solutions

See references/troubleshooting.md for:

  • DNS pollution (198.18.x.x fake IPs)
  • TLS handshake errors
  • 404 from Cloudflare
  • host.docker.internal not accessible

Verification

bash
# Check tunnel status
cloudflared tunnel list
cloudflared tunnel info <tunnel-name>
# Test via proxy (if DNS polluted locally)
curl -x http://127.0.0.1:<proxy-port> https://<subdomain>.<domain>/health

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tangchunwu/skill-hub/cf-tunnel-deploy/badge)](https://verified-skill.com/skills/tangchunwu/skill-hub/cf-tunnel-deploy)

Something wrong with this skill or its page? Tell us.