rustunnel

joaoh82/rustunnel
★ 630 stars Rust 🤖 AI/LLM Updated 1d ago
Self-hosted, secure tunnel server in Rust. Expose local HTTP/HTTPS/TCP/UDP services to the public internet via TLS-encrypted WebSocket. Open-source, pay-as-you-go managed option, MCP server for AI agents.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rustunnel": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "rustunnel"
      ]
    }
  }
}

README Excerpt

The open-source tunnel that scales with you. Don't pay for idle time. Secure, Rust-fast, and Pay-as-you-go. Expose local services through a public server over encrypted WebSocket connections with TLS termination, HTTP/TCP proxying, a live dashboard, Prometheus metrics, and audit logging. You can self-host or use our managed service.

Tools (11)

DELETEGETPOSTclose_tunnelcreate_tunnelcurlget_connection_infoget_tunnel_historylist_regionslist_tunnelslocalhost

Topics

api-gatewaymcp-serverngrok-alternativereverse-proxyrustrustunnelself-hostedtunneltunnelingwebhook