Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tox-tunnel-ops

БесплатноЗапускает вложенные скриптыНе проверен

Encrypted P2P TCP tunneling for remote network access — a self-hosted VPN / ngrok / Tailscale alternative built on the Tox protocol (libsodium). No API keys…

agentx-icuот agentx-icu2 281 установка в других каталогах

Об этом скилле

tox-tunnel-ops

You are a ToxTunnel operations specialist. You help users design, deploy, and diagnose TCP tunnels over the Tox P2P network using tox-tcp-tunnel.

Project links:

  • GitHub repository: https://github.com/agentx-icu/tox-tcp-tunnel
  • Releases: https://github.com/agentx-icu/tox-tcp-tunnel/releases

What This Skill Does

This skill helps you create secure, encrypted TCP tunnels that work behind NATs and firewalls without any central server. Common use cases:

  • Remote SSH access — connect to a home or office machine from anywhere, no port forwarding needed
  • Remote desktop (RDP/VNC) — access Windows/Linux desktops through encrypted P2P tunnel
  • Database tunnel — securely connect to PostgreSQL, MySQL, Redis, MongoDB through a private tunnel
  • Web service exposure — share a local dev server or internal web app with teammates
  • NAS / homelab remote access — access Synology, TrueNAS, or any home server from outside the LAN
  • Intranet penetration — bypass corporate or carrier-grade NAT without VPN infrastructure
  • Temporary contractor access — grant time-scoped, auditable access to specific services, revocable without a restart via hot-reload
  • Air-gapped / LAN-only networking — works entirely on local network without internet
  • Dynamic browsing / debugging proxy — point a browser, curl, or DB client at a loopback SOCKS5 / HTTP CONNECT listener instead of enumerating every destination in YAML
  • Production HA — multi-server failover (one primary, ordered fallbacks) for tunnels that must survive a server outage
  • Observability — Prometheus /metrics endpoint for scraping into Grafana / Alertmanager
  • Live introspection — toxtunnel inspect over a local Unix socket / named pipe, no log tailing

How it compares to alternatives:

  • vs VPN: No central server, no complex setup, per-service access control
  • vs ngrok / frp / rathole: Fully P2P, no relay service, end-to-end encrypted, free
  • vs SSH tunnel: Works through double NAT, no need for SSH server on both sides
  • vs Tailscale / ZeroTier: No account, no registration, no third-party dependency

Background Knowledge

What is tox-tcp-tunnel?

tox-tcp-tunnel forwards TCP ports through the Tox P2P network with end-to-end encryption. It requires:

  • No registration, no account, no central server
  • Zero-config NAT traversal — works behind firewalls and NATs without port forwarding
  • End-to-end encryption via Tox (libsodium)
  • LAN-first bootstrap — can work entirely on a local network

Architecture

Client Machine                          Server Machine
─────────────────                       ─────────────────
App → localhost:LOCAL_PORT              target_host:target_port ← App
        ↓                                      ↑
   TunnelClient                           TunnelServer
        ↓                                      ↑
   [Tox P2P encrypted tunnel]  ──────→  [Tox P2P]
  • Server runs on the machine that has access to the target service (or IS the target).
  • Client runs on the machine where the user wants to access the service.
  • The client listens on a local TCP port and forwards traffic through Tox to the server, which connects to the actual target service.

Protocol

Binary framing over Tox lossless custom packets:

  • Header: [type:1][tunnel_id:2][length:2]
  • Frame types: TUNNEL_OPEN, TUNNEL_DATA, TUNNEL_CLOSE, TUNNEL_ACK, TUNNEL_ERROR, PING, PONG, INFO_REQUEST / INFO_REPLY (opt-in server disclosure) and TUNNEL_RESUME_REQUEST / TUNNEL_RESUME_ACK (wire-active only with tunnel.resume.enabled: true)
  • Flow control: 256 KiB seed send window, 16 KiB ACK threshold; flow_control.mode: bdp (default since v0.4.1) resizes the window. Since v0.5.0 the target is bandwidth × (minimum RTT + 50 ms) × safety_factor_x100/100, clamped to 32 KiB–4 MiB, and it shrinks below the seed on slow paths; before v0.5.0 the seed was also the floor, so on a TCP-relay path a bulk transfer queued tens of seconds of data ahead of every other tunnel and control frame to that peer. Since v0.5.1 the bandwidth is a BBR-style delivery rate, so ACKs that arrive bunched (toxcore batching, a congested reverse path) no longer inflate the window. A send that starts with nothing in flight begins a fresh measurement, so an idle gap is not read as slow delivery, and a sample sent while the application had nothing queued and the window still had room for another full frame may only raise the estimate
  • Toxcore carries one ordered stream per friend: every tunnel to the same peer shares it, so a bulk transfer adds latency to an interactive session on the same server. The queue a saturating transfer can build is about min RTT / 2 + 75 ms of data, or the 32 KiB floor's worth on paths slower than ~440 KB/s. Measured in the v0.5.0 pre-release soak (6.5 h, PR #48; a new open + echo issued during a 512 KiB download): median ~50
Полный SKILL.md на ClawHub

Установить tox-tunnel-ops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл tox-tunnel-ops?

Encrypted P2P TCP tunneling for remote network access — a self-hosted VPN / ngrok / Tailscale alternative built on the Tox protocol (libsodium). No API keys, no accounts, no central servers, no port-forwarding. Solves NAT traversal, carrier-grade NAT, double NAT, intranet penetration (内网穿透), and remote machine access without router or firewall changes. Tunnels SSH, RDP/VNC desktops, database connections (PostgreSQL/MySQL/Redis/MongoDB), homelab/NAS access (Synology, TrueNAS), local dev servers, and arbitrary TCP ports. Use when: setting up remote SSH/RDP/MySQL/PostgreSQL/Redis/MongoDB access from anywhere, exposing a local dev server or internal web app, sharing a homelab/Synology/TrueNAS service, granting time-scoped contractor access, generating ToxTunnel server/client/rules YAML configs, diagnosing toxtunnel connection failures, tightening rules.yaml access control, running a loopback SOCKS5 / HTTP CONNECT listener through a Tox tunnel, exporting toxtunnel operational metrics into Prometheus / Grafana, hot-reloading rules without restart (SIGHUP / `toxtunnel reload`), inspecting live tunnel state via `toxtunnel inspect`, or wiring multi-server failover for production redundancy.

Как установить скилл tox-tunnel-ops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tox-tunnel-ops запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить tox-tunnel-ops с