Status: connecting… ·
client id: (none yet)
This page opens an EventSource to GET /events. Roughly every 5s
(with a plain keep-alive comment every 15s instead) the server pushes a
ping event with a unique id. This page's JS answers with a
fetch() POST /reply containing data only obtainable in the
browser (navigator.userAgent, screen size). The server matches the pong to
the original ping and pushes an ack event back down the same open
SSE connection — proving the channel works both ways.
Separately, this server process also embeds a real Tunneld.Tunnel WireGuard
peer dialing an actual gateway. If GET /tunnel-status above reports
up: true, anything that opens a TCP connection through that real tunnel
to this node's virtual address gets relayed live into this page as a
tunnel-data event below — traffic that genuinely crossed an encrypted
WireGuard tunnel, arriving in an ordinary browser tab with no native install.