cftunnel

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cftunnel renders a cloudflared tunnel config.yml from a tunnel profile. cloudflared dials out to Cloudflare's edge, so a node behind NAT can expose HTTP/SSH/TCP services with no inbound ports. Generating the config is dependency-free (hand-rendered YAML with validated fields); the tunnel credentials stay node-local.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConfig

func GenerateConfig(p model.TunnelProfile) (string, error)

GenerateConfig renders a cloudflared config.yml for the profile. A catch-all 404 rule is always appended (cloudflared requires the last rule to have no hostname).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL