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.
Click to show internal directories.
Click to hide internal directories.