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
- 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.
- Open Policies → Resources and select Deploy gateway. Enter a name and the DNS hostname clients will use, then select Create gateway.
-
Select Create deployment files. Use the copy buttons to save
compose.yamland.envin the same directory on the Docker host. -
Run the generated command from that directory.
-
Run
docker compose psand wait for the gateway container to report healthy. On a fresh organization, allow a few minutes for Forge to issue the gateway hostname certificate. - Assign a Resource, add its destination credential, and run Test connection from the Resource page.
.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. Downloadforge-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.