cloudflare-tunnel

Manage Cloudflare tunnels and DNS records to expose local services.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ecnepsyroc-bot/Dejavara --skill cloudflare-tunnel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-tunnel
Source: https://github.com/ecnepsyroc-bot/Dejavara/tree/main/deploy/skills/cloudflare-tunnel
Command: npx skills add https://github.com/ecnepsyroc-bot/Dejavara --skill cloudflare-tunnel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, openssl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines exposing services running behind NAT or firewalls to the public internet by automating Cloudflare zone creation, tunnel provisioning, DNS record configuration, and cloudflared setup so you can reach self-hosted hosts without complex network changes.

Core Features & Use Cases

  • Create and manage Cloudflare tunnels including generating tunnel secrets, saving credentials, and running cloudflared on devices such as Raspberry Pi.
  • Automate DNS and zone workflows: add zones, obtain nameservers, verify zone status, and create proxied CNAME records that point to cfargotunnel endpoints.
  • Use Case: Connect a home server or shop device to a stable hostname (gateway.example.com) for remote access while keeping local networks protected.

Quick Start

Use the cloudflare-tunnel skill to create a tunnel for gateway.example.com using the API token stored at ~/.openclaw/secrets/cloudflare-token and configure the proxied CNAME in the target zone.

Frequently Asked Questions about cloudflare-tunnel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I expose local services behind NAT to the internet using Cloudflare?

To expose local services behind NAT, this Skill automates Cloudflare tunnel creation, credential generation, and proxied CNAME DNS configuration to route external traffic to your internal hosts securely.

How do I create a Cloudflare tunnel and configure DNS for a home server?

Creating a Cloudflare tunnel involves generating a tunnel secret, saving the credentials file, and creating a proxied CNAME record pointing to the cfargotunnel endpoint for your specified hostname.

What Cloudflare API token permissions do I need to manage tunnels and DNS records?

Managing tunnels and DNS records requires a Cloudflare API token with Zone and Cloudflare Tunnel permissions to provision endpoints and verify zone status via API calls.

Can I use cloudflared to expose IoT devices or Raspberry Pi hosts without complex network changes?

Yes, you can use cloudflared to expose IoT devices or Raspberry Pi hosts by generating a configuration that securely connects them to a stable hostname without altering local network firewall rules.

Does this approach require installing curl and openssl to generate tunnel credentials?

Yes, generating tunnel credentials and managing Cloudflare zones requires curl and openssl installed, as these dependencies handle API requests and secure secret generation for the cloudflared setup.