Skip to main content
LABS

P2P Ghost Tunnel

Bypass ngrok entirely. Generate a secure WebRTC tunnel to stream your localhost directly to a client's browser without any intermediary servers.

P2P Ghost Tunnel

Bypass ngrok. Establish a direct Peer-to-Peer WebRTC Data Channel between two browsers using public STUN discovery and manual token exchange. No relay servers and no intermediary payload storage.

Operations run 100% locally. Sign in with GitHub to sync pinned tools and presets across machines.
Connect Workspace

What is P2P Ghost Tunnel?

P2P Ghost Tunnel establishes a direct, encrypted WebRTC connection between your browser and another device, entirely bypassing centralized servers. It's designed for transferring logs, sensitive payloads, or securely chatting without leaving a trace.

Because the signaling relies on a manual copy-paste exchange of SDP tokens and public STUN discovery, the resulting connection is strictly serverless and peer-to-peer.

How to use this tool

  1. Generate an Offer from Device A and copy the SDP string.
  2. Paste the Offer into Device B to generate an Answer.
  3. Copy the Answer back to Device A to establish the connection.
  4. Once connected, start sending encrypted data or files.

Examples

Frequently Asked Questions

Is the data routed through Castov servers?
No. All payload data flows directly between browser peers using WebRTC data channels. Public STUN servers are used solely for initial ICE discovery; no payload data is routed through or stored on Castov servers.
What happens if both devices are behind strict NATs?
Direct connection might fail without a TURN server. Currently, this tool requires at least one peer to have permissive NAT traversal or use a local network.