Back to Blog
Network Engineering October 2026 8 min read

How VeilMesh Calls Get Through Strict Firewalls

How VeilMesh carries end-to-end encrypted one-to-one and SFU group calls through strict firewalls with encrypted SDP/ICE signaling and coturn on TCP 443, and why calls use a different transport from text.

End-to-end encrypted voice, video and screen sharing have to get through mobile carrier NAT, corporate firewalls and ship LANs, so NAT traversal and firewall restrictions are the main problem.

This post covers how VeilMesh uses WebRTC, our own Selective Forwarding Unit (SFU), encrypted signaling and a single TCP port 443, and why on October 1, 2026 we moved text off WebRTC data channels onto a separate transport.

1. Why We Separated Calls from Text Transport

Early builds of VeilMesh experimented with routing ordinary MeshPacket text messages over serverless WebRTC data channels. In practice, keeping persistent ICE/DTLS data channels alive in the background on iOS and Android consumed battery and required signaling exchanges before a single text message could leave the phone.

On October 1, 2026, we retired WebRTC data channels for text routing and assigned each kind of traffic its own transport:

  • Text & Key Exchange Offline: Bluetooth Low Energy (BLE) mesh, and TCP over local Wi-Fi (a shared network, a hotspot, or AWDL between Apple devices).
  • Text & File Transit Online / Onboard: TLS WebSockets via the relay or onboard VeilMesh Box.
  • Voice, Video & Screen Sharing: WebRTC (1-on-1 P2P and SFU group calls) with end-to-end encrypted media and signaling.

2. End-to-End Encrypted Call Signaling (SDP & ICE)

In many WebRTC applications, the signaling server sees plaintext Session Description Protocol (SDP) offers and ICE candidates, which expose your local and public IP addresses. In VeilMesh, all call setup messages (SDP offers, answers, and ICE candidates) are end-to-end encrypted inside the Double Ratchet or MLS session before they touch any transport. The app rejects any call signaling that is not encrypted.

3. STUN, TURN, and TCP Port 443 Multiplexing

Media takes one of three paths:

  1. Direct P2P / LAN Candidates: When two peers are on the same local Wi-Fi (such as a vessel LAN or office network) or can punch through NAT via STUN, encrypted SRTP media goes directly between them.
  2. Self-Hosted TURN & SFU Media Server: For group calls (up to 8 participants in video or ~50 in voice on a size S relay, with screen sharing) or strict symmetric NATs, encrypted media routes through our coturn + veilmesh-sfu media stack. Because media keys are negotiated end-to-end between participants, the SFU forwards encrypted frames without decrypting them.
  3. HTTPS and TURN on one TCP port 443: In strict corporate and maritime networks that block arbitrary UDP ports, private relays and the VeilMesh Box run an HAProxy front-end that shares a single TCP port 443 between HTTPS/WebSocket traffic and TURN TLS media relays.
WebRTC NAT Traversal Architecture
Figure 1: Encrypted SDP/ICE signaling and STUN/TURN media traversal with TCP 443 fallback.

4. Post-Quantum Call Audio on Desktop (Mirror Phone)

When you answer or place a call from your computer using the desktop app in Mirror Phone mode, the UDP audio stream between your phone and computer is encrypted with keys derived from the hybrid post-quantum session (Noise over X25519 combined with ML-KEM-768), keeping both signaling and call audio protected against "store now, decrypt later" capture on the local network.