Overview
Transparent Mode lets the Formal Endpoint intercept traffic as it leaves the host. The Endpoint logs each intercepted flow and evaluates your against it. It can also route the flow to a . You do not change client applications. Browsers, CLIs, and AI agents keep using the same hostnames. Network rules decide which TCP connections the Endpoint intercepts. Traffic that no active rule matches leaves the host untouched.Transparent Mode is supported on macOS and Linux. On Linux, enable
it in
~/.formal/config.toml. See
Install Formal Endpoint on Linux.Turn on Transparent Mode
These steps are for macOS. On Linux, there is no install step: enable Transparent Mode in~/.formal/config.toml, as described in Install Formal Endpoint on Linux.
1
Install the network extension
2
Enable Transparent Mode
3
Verify
Choose what to intercept
Transparent Mode intercepts nothing until an active network rule matches. Create rules in the Control Plane at Network Rules.Connect to Connector resources
With Transparent Mode on,formal connect routes a resource’s own hostname through the Connector.
<resource-name> with a name from formal ls.
Your client then connects to the resource’s hostname as usual.
Runtime TLS trust
Transparent Mode terminates TLS with certificates from the Formal local CA.formal ca trust adds that CA to the OS trust store, which browsers and Go programs use.
Node.js and most Python HTTP clients ignore the OS trust store and ship their own roots instead.
On macOS, you may want to point these clients at ~/.formal/ca/ca-bundle.pem, a bundle of the OS trust store plus the Formal CA.
Set transparent_proxy.runtime_ca_env = "all" in config.toml.
While the OS trusts the Formal CA, the Endpoint then sets these variables in your login session:
Unless
runtime_ca_env is none, the Endpoint also sets NODE_EXTRA_CA_CERTS, SSL_CERT_FILE, and REQUESTS_CA_BUNDLE in Claude Code’s ~/.claude/settings.json.
Variables that are already set keep their values.
Apps and terminals opened afterward inherit the variables. Restart apps that were already open.
Troubleshooting
See Troubleshoot the Endpoint for tools that Transparent Mode can break and how to fix them.Next Steps
Write Network Rules
Select the traffic Transparent Mode intercepts
Configure the Endpoint
Enable and enforce Transparent Mode on startup
Block Agent Git Pushes
Apply a policy to intercepted agent traffic
Write Policies
Block, mask, or rewrite intercepted requests