Tag
Tutorials
6 posts tagged Tutorials.
P2P Tunnels in Rust: The Peer-to-Peer Tunnel Architecture Without an Exit Node
How peer-to-peer tunnels actually work without a third-party exit node — NAT types, simultaneous-open hole-punching, and how rustunnel's peer-to-peer tunnel in Rust keeps the relay out of the data path entirely. A complete explainer for engineers who've heard 'P2P tunnel' a hundred times but never seen it drawn.
Group-Based Tunnel Load Balancing With Built-in Health Checks (How rustunnel Does What FRP Does, Explained)
rustunnel's group-LB feature lets two or more tunnel clients claim the same hostname and share traffic via round-robin or weighted-random, with active health checks that pull dead backends out of rotation. A complete walkthrough vs frp's group_health_check, with diagrams and a worked example.
The Fastest Way to Give Claude Code (or Cursor) an HTTPS URL on Your Laptop
A 60-second walkthrough: install rustunnel, expose your local server over HTTPS, and drop the URL straight into Claude Code's MCP config or Cursor's extension. The MCP server tunnel for Claude Code, end-to-end.
How to Self-Host ngrok on a $4 Hetzner Box (Full Ansible Playbook Walkthrough)
Self-host ngrok on a $4/month Hetzner CX22 with rustunnel-server: a complete Ansible-driven walkthrough covering DNS, Cloudflare DNS-01, nginx, systemd, and a feature-parity comparison vs ngrok, cloudflared, and frp.
MCP Tunnel for Claude Code: How AI Agents Open Tunnels for You
rustunnel ships an MCP server so Claude Code, Cursor, GPT-4o, or any MCP-compatible agent can create, list, and close tunnels for you. A practical guide to the MCP tunnel for Claude Code, the Claude Code plugin, and the OpenClaw skill — with diagrams and real terminal output.
How to Expose Local HTTPS to the Internet (with a Custom Subdomain)
A step-by-step tutorial: install rustunnel, expose localhost over HTTPS with a free Let's Encrypt certificate, and bind it to a custom subdomain. Includes real commands and terminal output.