cloudflare_tunnel

Configures Cloudflare Tunnel for exposing local services to the internet via QUIC protocol.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/MassimilianoPili/claude-code-config --skill cloudflare-tunnel-massimilianopili
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare_tunnel
Source: https://github.com/MassimilianoPili/claude-code-config/tree/main/skills/cloudflare-tunnel
Command: npx skills add https://github.com/MassimilianoPili/claude-code-config --skill cloudflare-tunnel-massimilianopili

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to securely expose your self-hosted services to the internet without opening inbound ports on your firewall, simplifying remote access and enhancing security.

Core Features & Use Cases

  • Secure Exposure: Uses Cloudflare Tunnel to route traffic via QUIC protocol.
  • Simplified Management: Handles HTTPS termination at Cloudflare's edge.
  • Use Case: Expose a local development server or a private application like Gitea to the internet for external access or collaboration.

Quick Start

Configure the Cloudflare Tunnel skill to expose the service running on http://nginx:8888 under the hostname sol.massimilianopili.com.

Frequently Asked Questions about cloudflare_tunnel

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

FAQPage Schema
How do I expose self-hosted services securely without opening inbound firewall ports?

You can securely expose self-hosted services by configuring Cloudflare Tunnel, which routes external traffic over the QUIC protocol and manages HTTPS termination at the edge. This removes the need to expose inbound firewall ports.

Can I run a Cloudflare Tunnel deployment as a non-root Docker container?

Yes, this Cloudflare Tunnel configuration supports non-root Docker deployments. It handles the necessary network setup and tunnel execution without requiring root privileges inside the container.

How do I configure DNS CNAME records and ingress rules for a local server using Cloudflare Tunnel?

Configuring DNS CNAME records and ingress rules for a local server involves mapping your hostname to the tunnel and defining traffic routing rules. This setup directs incoming requests to your internal service, such as an nginx or Gitea instance.

Does this Cloudflare Tunnel setup support UDP buffer tuning for optimal QUIC performance?

Yes, the setup explicitly addresses UDP buffer tuning to optimize QUIC protocol performance. Adjusting these buffers ensures stable and efficient network throughput for your edge service connections.

What is the best way to manage remote access to private applications over QUIC?

Using Cloudflare Tunnel is an effective way to manage remote access to private applications over QUIC. It securely proxies traffic from the edge directly to your self-hosted services without exposing your internal network.