Skip to main content

Overview

The Formal VPN gives Endpoints an end-to-end encrypted tunnel to your Connectors. Your Connectors need no inbound firewall rules. Formal’s VPN infrastructure helps the two sides find each other, but can’t read your traffic.

Components

Formal VPN components: Endpoint, Connector, Gateway, Rendezvous Servers, and Relays

How connections work

Connectors aren’t reachable from the internet. Instead, each Connector keeps persistent outbound connections to Rendezvous Servers. When an Endpoint wants to connect, a Gateway sets up a signaling channel to the Connector through those servers. Over that channel, the two sides use hole punching to open a direct, end-to-end encrypted path. If the network blocks a direct path, traffic goes through a Relay instead. See How connections work.

Security

The VPN is built on CONNECT-IP (RFC 9484), over QUIC (RFC 9000) with TLS 1.3 (RFC 8446), encrypted end to end. Gateways, Rendezvous Servers, and Relays can’t read your traffic. Tunnels use a post-quantum key exchange, and work with FIPS 140-3 Connectors. You can restrict which regions a Connector’s VPN traffic passes through. See Security.

Reliability

The VPN is designed to run independently of the Formal Control Plane. It stays up when the Control Plane fails, and when entire cloud regions go down. Every tier runs on several servers across several regions, with no shared database. Established tunnels don’t depend on Gateways or Rendezvous Servers. See Reliability.

Cloud workloads

Agent sandboxes such as Cursor and Devin run the Endpoint too. They exchange the platform’s OpenID Connect (OIDC) token for a short-lived certificate, then connect like a laptop. See Cloud workloads.

Network requirements

  • Connector: outbound only, UDP and HTTPS, IPv6 for hole punching
  • Endpoint, direct path: UDP over IPv6
  • Endpoint, through a Relay: TURN over UDP or TCP on port 3478, or over TLS on port 443

Next steps

How connections work

Rendezvous, signaling, hole punching, and Relays

Security

End-to-end encryption, post-quantum key exchange, and FIPS 140-3

Reliability

Fault tolerance and Control Plane independence

Cloud workloads

Cursor, Devin, and other agent sandboxes