Quick QUIC Tunnel — port forwarding, over one QUIC connection.
A GPU-rental marketplace (vast.ai is the reference) hands you a container and one door — ssh -L 8080:localhost:8080 <host>, relayed through the platform's own intermediary. qqt keeps the -L and -R and replaces the path: one mutually-authenticated QUIC connection, one stream per forward, so a stalled channel cannot hold the others and a new one pays no handshake.
ssh -L 30000:localhost:30000 root@ssh3.vast.ai
qqt -L 30000:localhost:30000 root@ssh3.vast.ai
| lane | n requested | n effective | median Mbit/s | peak Mbit/s | wire bytes |
|---|
Why qqt is fast
No head-of-line blocking
Every forwarded connection gets its own QUIC stream. A stalled transfer is a stalled stream, not a stalled tunnel — the rest keep flowing underneath it.
No handshake per channel
The connection is established once and held. Opening the tenth port forward costs the same as opening the first: nothing on the wire.
Mutual TLS, one trust root
The server admits a handshake only when its chain reaches a CA you minted. The CA key never leaves the operator's box.
The measurement
A relay you did not ask for, on every channel.
Measured on a cloud GPU rental in US East, reached from a European residential uplink. The direct RTT is 41.5 ms; the platform relays ssh, and that becomes 90.4 ms. Port forwarding inherits all of it — plus a handshake for every new channel.
Warm channel
Cold channel
8 concurrent
Medians against relayed ssh.
Each row is the same workload over the same link, forwarded by the platform's relayed ssh -L and then by qqt. Medians, from one measured record; the benchmark record carries its date, the box and the method.
| Workload | ssh -L p50 | qqt p50 | Ratio |
|---|---|---|---|
| Warm, persistent channel | 240.0 ms | 47.7 ms | 5.0× |
| Cold, new channel per request | 539.5 ms | 50.7 ms | 10.6× |
| 8 concurrent streams | 727.3 ms | 45.0 ms | 16.2× |
| 32 concurrent streams | 635.7 ms | 48.6 ms | 13.1× |
Other figures from the same record
Plain HTTP probe, pure transport: ssh 264 ms → qqt 113 ms.
Transport jitter p10→p90: 0.8 ms (112.9→113.7 ms) against the ssh path's 248–313 ms.
During a 3.01 s first-token stall, 214 chunks flowed on other streams over the same connection, with zero retransmits.
Stream setup is free: a 120 s capture carried zero QUIC handshakes inside any request's budget.
qqt sets TCP_NODELAY on every accepted and dialled socket, so the relay's second queue never forms; Nagle hashes cannot ride a stream it does not hold.
Three identities the record already obeys.
Not a model fitted afterwards: the arithmetic each measurement had to satisfy, checked against the numbers above. A row that misses its own line is a claim the record would have to explain.
-
Nagle's delay
T = R + (n − 1)·L/B + B/L·R
A small write waits for the unacknowledged segment before it leaves, and the ack that releases it returns after one more round trip; two small writes across one RTT pay two. R is the round trip, L the segment, B the bandwidth.
The warm-channel gap between relayed ssh and qqt is 192.3 ms; two round trips at the relayed 90.4 ms are 180.8 ms. qqt sets
TCP_NODELAY, so the term is zero on its side and the gap is the whole delay. -
Serialisation of one stream
Tc = c · R
A multiplexing ssh carries every channel inside one ordered TCP byte stream, so degree c costs one round trip per channel before the aggregate settles. qqt's streams are independent, so the term is one round trip for all of them.
Eight channels at 90.4 ms are 723.2 ms serialised; the record measures 727.3 ms — 4.1 ms of batching on top. At thirty-two the same line predicts 2892.8 ms where the record shows 635.7 ms: past the point where writes coalesce, the line stops describing the relay and starts describing its queue.
-
A stall is a stream
Tothers = Town + ε
Under qqt a stalled stream holds only its own flow-control window; the others keep theirs. Under one ordered byte stream the same stall charges every channel behind it.
A 3.01 s first-token stall let 214 chunks through on the other streams, zero retransmits. The honest residue is ε = +4.3 ms of shared-path batching (17.6 vs 13.3 ms p50), and the page prints it rather than rounding it away.
It says what it's doing.
Two renderings of one snapshot. --enable-metrics opens a pull endpoint for a scraper; --stats writes the same numbers as one line on stderr. Neither costs a packet on the wire: a 1 Hz sampler reads the connection's own counters on the box.
/metrics — the pull side
Opt in with --enable-metrics. The endpoint answers GET /metrics on 127.0.0.1:9633 — [::1]:9633 when the family is v6 — and nowhere else unless you move it.
The body is Prometheus text: one # TYPE line per family so rate() and a store know the class, no # HELP prose, and qqt_info first. There is no separate health path — a scrape that returns is the liveness verdict, and one that fails is the alarm. The sampler ticks at 1 Hz and reads the connection's own counters locally, so a scrape costs zero packets on the tunnel.
Sample body
# TYPE qqt_info gauge
qqt_info{role="client",remote="203.0.113.9:4433",version="0.9.0",cc="bbr"} 1
qqt_connected 1
qqt_uptime_seconds 1841
qqt_rtt_seconds 0.041512
qqt_rtt_min_seconds 0.038904
qqt_jitter_seconds 0.000812
The rest is the same shape: qqt_cwnd_bytes, qqt_streams_active and qqt_streams_total for the flows, qqt_lost_packets_total and qqt_black_holes_total for the path, byte and datagram counters for the wire.
Scrape it
scrape_configs:
- job_name: qqt
metrics_path: /metrics
static_configs:
- targets: ["127.0.0.1:9633"]
scrape_interval: 15s
--stats — the push side
Same snapshot, one logfmt line on stderr, every ten seconds by default and --stats SECS to change it. One record per line, every field a whitespace-delimited key=value, the unit carried in the value: awk and cut read it with no parser, and a terminal reads it without one.
role=client remote=203.0.113.9:4433 version=0.9.0 cc=bbr up=1841s
connected=1 rtt=41.5ms rtt_min=38.9ms jitter=812us cwnd=763.8KiB mtu=1389
bw_tx=1.2MiB bw_rx=842.0KiB tx=797.4KiB rx=792.3KiB tx_pkts=662 rx_pkts=639
sent=663 lost=0 loss=0.00% cong=0 blackholes=0 streams_active=3 streams_total=12
reconnects=0
Shown wrapped; the wire form is one line. One line opens the run and one closes it with final=1.
The two switches are independent: the endpoint owes no log line, the line owes no listener. Every measured key on the line names the series it carries, with two exceptions that stay line-only — loss, which the body leaves the scraper to divide, and final, which is a marker.
One server, every integration at once.
One qqt server serves every integration. Port forwarding is the one in production; SOCKS5, TUN, TAP and WireGuard are written but not yet wired.
The transport
Integration
A stall is a stream, not a tunnel
A single forwarded connection can stop mid-transfer — a database waiting on a lock, a model thinking — without spending anyone else's time. The other streams keep their own flow control and their own order.
The handshake is paid once
Establishment happens once per connection, not once per channel. Opening a forward is an act inside an already-secure session, so a new channel does not re-walk the handshake that the last one just completed.
ssh-shaped
~/.ssh/config works unchanged.
Addresses stay boring
Prefixes may be v4, v6, or both; a [::] listener answers both families. -4 and -6 only ever narrow the listener — they never widen it.
A direct drop-in for ssh -L and -R.
qqt is in private beta. Email beta@quickquic.ai and we'll send the binary. Nothing is installed on the far side: qqt ships itself over the ssh you already have and runs from your own state directory. If you can reach one side over ssh and open a UDP port on either side, it runs.
-
1
The binary travels over ssh
One qqt binary, shipped across the ssh channel you already have and run from the login user's own state directory. No package manager, no root, no /usr/local.
-
2
Nothing lands on the far side
No daemon to install, no config file to write, no certificate to copy by hand — the door is minted around the ssh host key the box already presents, and the mount cleans up after itself.
-
3
One ssh reach, one UDP port
Reach one side over ssh and open a UDP port on either side, in either direction, and it runs: 127.0.0.1:15432 becomes 10.0.0.5:5432 as the far side sees it.
One UDP port, and that is the firewall story
You can either open a UDP port on the instance — 4433/udp in the launch template's security group — and point the client straight at it, or leave the port closed and reach the box through the platform's relay. The relay is the slower of the two: 90.4 ms against 41.5 ms of round trip, and every new channel walks a handshake.
# on your box
qqt gencert -o ./qqt-certs
# on the target, with server/ shipped over — nothing installed
qqt server --listen [::]:4433 \
--certs-dir ./qqt-certs/server
# back on your box
qqt client -l 127.0.0.1:15432:10.0.0.5:5432 \
-r <box>:4433 --certs-dir ./qqt-certs/client