Skip to main content

Overview

Every Formal VPN tunnel is encrypted end to end and uses a post-quantum key exchange. This page describes how the tunnel is protected and what each part of Formal’s VPN infrastructure can observe. It also covers FIPS 140-3 support and regional restrictions for VPN traffic.

End-to-end encryption

The tunnel uses CONNECT-IP (RFC 9484), which carries IP packets over HTTP/3 (RFC 9114). HTTP/3 runs over QUIC (RFC 9000), secured with TLS 1.3 (RFC 8446) as specified in RFC 9001. Session keys are negotiated for each tunnel and exist only on the Endpoint and the Connector. The Connector authenticates the Endpoint before any traffic flows through the tunnel. Formal’s VPN infrastructure cannot read your traffic: Relays forward packets only to public internet addresses, never to private networks. An Endpoint cannot direct a Connector to a Relay of its choosing.

Post-quantum key exchange

Every tunnel uses the hybrid key exchange X25519MLKEM768 (IETF draft-ietf-tls-ecdhe-mlkem). It combines the classical X25519 key exchange (RFC 7748) with ML-KEM-768, which NIST standardized in FIPS 203. The session keys remain secret as long as either algorithm remains secure. This design protects against “harvest now, decrypt later” attacks. Traffic recorded today cannot be decrypted later, even by a future quantum computer.

FIPS 140-3

For environments that require FIPS 140-3, Formal publishes a separate FIPS build of the Connector. This build runs the Go Cryptographic Module in FIPS 140-3 mode. In this mode, the Connector accepts only approved TLS settings for every tunnel:
  • TLS 1.3 with AES-GCM cipher suites (RFC 8446), as specified in NIST SP 800-38D
  • Approved key exchanges, including X25519MLKEM768
Tunnels to a FIPS Connector therefore retain their post-quantum protection. FIPS mode applies to the Connector’s side of the tunnel. See FIPS for the module’s validation status and the build’s other restrictions.

Regional routing

Some customers are bound by regulatory requirements that restrict the regions their network traffic may pass through. Formal’s VPN infrastructure does not store any of the data you access through the tunnel. Gateways, Rendezvous Servers, and Relays only forward connection setup data and end-to-end encrypted packets. None of these components can read the traffic they forward. You can restrict a Connector’s VPN traffic to a set of regions. The VPN applies this restriction to every component of a session:
  • Endpoints signal only through Gateways in those regions.
  • The Connector connects only to Rendezvous Servers in those regions.
  • Sessions use only Relays in those regions.
For example, a Connector restricted to the EU uses only Gateways, Rendezvous Servers, and Relays located in the EU.