Skip to main content

Module tunnel

Module tunnel 

Structs§

CloudflareTunnel
Cloudflare Tunnel — wraps the cloudflared binary. Requires cloudflared installed and a tunnel token from the Cloudflare Zero Trust dashboard.
CustomTunnel
NgrokTunnel
ngrok Tunnel — wraps the ngrok binary. Requires ngrok installed. Optionally set a custom domain (requires ngrok paid plan).
NoneTunnel
No-op tunnel — direct local access, no external exposure.
OpenVpnTunnel
PinggyTunnel
TailscaleTunnel
Tailscale Tunnel — uses tailscale serve (tailnet-only) or tailscale funnel (public internet). Requires Tailscale installed and authenticated (tailscale up).
TunnelProcess
Wraps a spawned tunnel child process so implementations can share it.

Traits§

Tunnel

Functions§

create_tunnel
Create a tunnel from config. Returns None for tunnel_provider “none”.
kill_shared
Kill a shared tunnel process if running.
new_shared_process

Type Aliases§

SharedProcess