Skip to main content

Requirements

Choose a Linux Docker host in the same private network as the destinations. It needs Docker Compose, outbound HTTPS to Forge, and these paths as applicable: Create internal DNS for the configured gateway hostname and point it at the host or a TCP/TLS pass-through load balancer. Do not terminate or rewrite HTTP in front of the gateway; the same runtime also serves database protocols and the managed routing tunnel.

Install

  1. Open Policies → Routing. Under Traffic inspection, enable an organization certificate authority if one is missing. For a new test organization, select Forge-managed authority and Enable inspection. Direct access uses this authority for TLS. You can leave automatic routing off.
  2. Open Policies → Resources and select Deploy gateway. Enter a name and the DNS hostname clients will use, then select Create gateway.
  3. Select Create deployment files. Use the copy buttons to save compose.yaml and .env in the same directory on the Docker host.
  4. Run the generated command from that directory.
  5. Run docker compose ps and wait for the gateway container to report healthy. On a fresh organization, allow a few minutes for Forge to issue the gateway hostname certificate.
  6. Assign a Resource, add its destination credential, and run Test connection from the Resource page.
The Compose file pins the gateway image. The environment file contains the one-time enrollment value. Keep the file private and out of source control. Creating new deployment files rotates that value immediately. Update .env on the host and run the deployment command again.

Client trust

Direct clients must trust the organization certificate that the gateway uses for Resource hostnames. Download forge-resource-ca.pem from a Resource’s Connect directly section and use the generated client command. Managed devices receive the required trust through device setup. The gateway separately verifies each destination hostname against public roots or the Resource’s configured private authority. Forge never offers a skip-verification option.

Verify

Run one harmless operation through the generated direct command, then open Live → Resources and confirm the gateway, Resource, caller, operation, and policy outcome. Repeat through automatic routing when that path is enabled. See Operate Resource gateways for status, upgrades, rotation, and failure behavior.