// p2p tunnels · zero config

Expose anything. No port forwarding.

Meshly is a P2P reverse proxy built on Iroh and QUIC. Publish a local TCP port, a static site or your sshd, then reach it from any other machine — with automatic NAT traversal, end-to-end encryption and a relay fallback when direct P2P is blocked.

$curl -fsSL https://meshly.mysoul.fun/install.sh | sh

Installs the meshly CLI into ~/.local/bin (Windows: %LOCALAPPDATA%\meshly\bin). No root required.

zsh — meshly
# print this host’s NodeID
$ meshly id
meshly-core node id: 3f9a…c41d
# expose and consume services
$ meshly run -c client.toml
✓ registered service=web kind=tcp
✓ direct P2P · NAT traversal ok
# pair another device — no account needed
$ meshly pair show --service web
✓ pairing QR written — no account needed
$

// built on Iroh · QUIC · Rust · NAT traversal · TOML config · No root / no TUN

// why meshly

Zero-config NAT traversal

iroh · QUIC

Iroh punches through NATs and firewalls over QUIC and encrypts every byte end to end. No port forwarding, no public IP, no VPN client, no root — Meshly never needs TUN/TAP.

Every kind of service

tcp · static · ssh

Forward raw TCP with [[expose]], publish a folder as a static site with [[static]], and tunnel SSH with [[ssh]] / [[ssh_forward]] — all from one client.toml.

Pair with a QR, not an account

no account

meshly pair show renders a QR carrying the group token and the service secret. Scan it on the other device and you are connected — no sign-up, no cloud directory.

// what you get

NAT traversal

Automatic hole punching and encrypted QUIC streams via Iroh — direct peer to peer whenever the network allows.

TCP forwarding

[[expose]] publishes any local TCP port to the group; [[consume]] binds it locally on the other side.

Static hosting

[[static]] serves a local folder over HTTP/1.1 with optional directory listing — share a build, not a server.

SSH tunneling

[[ssh]] and [[ssh_forward]] make SSH a first-class service, with ephemeral local ports and keep-alives tuned for idle sessions.

QR pairing

meshly pair show / pair decode move a service to another device in seconds — accountless, offline, scriptable.

Relay fallback

When direct P2P fails, traffic falls back to the server relay, with optional per-consumer bandwidth caps.

Desktop + CLI

The same core drives a Tauri desktop app and a scriptable CLI — pair in the GUI, automate with the CLI.

Self-hostable

Run your own meshly-core-server: you own the control plane, the service registry and the relay.

// scriptable by design

TOML in, tunnels out — easy for you and your agent.

Every meshly action is a declarative client.toml plus a CLI subcommand with JSON status output, so humans, scripts and coding agents drive the same surface. No GUI-only state, no hidden steps, no accounts to provision.

$ Claude · Codex · your agent

Ready to tunnel?

One command installs the CLI on macOS, Linux and Windows. Read the docs to write your first client.toml.

$curl -fsSL https://meshly.mysoul.fun/install.sh | shRead the docs