Skip to content

Run Without an Outside Connection

Self-Hosted Only

An instance runs with no way to the internet. Nothing in it calls home, checks a licence or fetches a page, a font or a script from outside. This page is for a network that is closed to the internet, or one where every way out must be named in advance.

Everything people do with models:

  • drawing, checking and saving models, and the pages built from them
  • editing a model by hand, with no assistant
  • importing from a file, and starting from one of the engine’s example models
  • the organization’s library and the standard catalog
  • review, approval, comments and the change history
  • reports and exports: the report as a PDF, the registers as CSV and the model as Open Threat Model
  • the MCP server and the API, for your own tools inside the network
  • sign-in with a password and an authenticator app
  • this help, which the instance serves itself

The worker, which checks models and draws their pages and PDFs, reaches nothing, the internet included. The browser it prints with runs inside it.

Only the API ever reaches out. Each connection below happens only when someone sets it up, and each has a setting that keeps it off.

Connection When It Happens Off When
An AI vendor An organization turns on the assistant with one of the vendors. See AI settings No organization chooses a vendor. To keep the assistant inside the network, see “The Assistant Inside Your Network” below
An organization’s identity provider An organization sets up single sign-on No organization sets it up. A provider inside your network works: the API reaches whatever address the organization’s administrator gives
Microsoft, Google and Apple sign-in Their registrations are set SignIn:Microsoft:ClientId, SignIn:Google:ClientId and SignIn:Apple:ClientId are empty, as they are unless you set them
The operators’ own identity provider Platform:SingleSignOn:Issuer is set It is empty. Operators then sign in with a password and an authenticator app
The operators’ breach check An operator chooses a password, and the check is on. It sends only the first five characters of the password’s SHA-1 hash to api.pwnedpasswords.com Platform:Mode is self-hosted, unless Platform:BreachCheck is on. The list of breached passwords that comes with the release still decides
E-mail through Amazon SES or SMTP Outgoing E-Mail in the console names a way of sending, or Email:SesRegion names a Region. See Outgoing e-mail Neither is set. Invitations then show their link to the administrator who made them, and password resets are not offered
Card payment through Stripe Plans are sold. See Plans and billing Billing:Enabled is false, as it is unless you set it
Webhooks An organization’s administrator adds a webhook. See Webhooks Webhooks:Enabled is false. With it on and no way out, a webhook to an outside address fails its deliveries, and is paused after a day of them
Your cloud’s key service Encryption:Kek names AWS KMS, Azure Key Vault or Google Cloud KMS. See Keys and key management It is file, the default
DNS An administrator checks one of the organization’s e-mail domains, and again every Domains:RecheckHours It always happens when a domain is checked. Name your internal resolver in Domains:NameServers

The vendors’ addresses are fixed: the assistant reaches them on the internet, or through your cloud’s own network on the cloud routes. To keep the assistant inside a closed network, run a model server of your own that speaks the OpenAI protocol, and let organizations use it:

  • Assistant:CustomAddress:Enabled=true offers A custom address (OpenAI protocol) to organizations. The API refuses to start with it on where anyone may sign up.
  • Assistant:CustomAddress:AllowPrivateAddresses=true lets the address resolve to your private network. Loopback, link-local and the cloud’s metadata service stay refused.
  • Assistant:CustomAddress:AllowedHosts names the only hosts the address may name, such as models.example.internal.

An organization’s administrator then chooses the custom address in AI settings. What the model sees and keeps is then up to your model server.

Webhooks to a receiver inside the network work the same way: set Webhooks:AllowPrivateAddresses=true.

A server inside your network whose certificate comes from your own certificate authority must be trusted by the API: build the API’s image with your authority among its trusted certificates.

Build the images on a machine that can reach the internet, then carry them in. Building needs:

What From
The base images: node:26-alpine, mcr.microsoft.com/dotnet/sdk:10.0, mcr.microsoft.com/dotnet/aspnet:10.0-noble-chiseled-extra and nginx/nginx-unprivileged:stable-alpine Their registries
The application’s npm packages, the API’s NuGet packages, and Chromium for the worker from Alpine’s packages Fetched while the images are built
The engine’s archive, named in worker/engine.lock.json Placed in .local/ before building. The build checks its SHA-256 against the lock file and stops if they differ

Running needs the three images you built, api, worker and web, and two more: postgres:18 and valkey/valkey:8-alpine.

To carry them in:

  1. On the machine with the connection, build the images, then pull postgres:18 and valkey/valkey:8-alpine.
  2. Save them to one file: docker save -o forge-images.tar followed by the five images’ names.
  3. Check the file’s SHA-256 on both sides of the move.
  4. Inside the network, load it with docker load -i forge-images.tar, or push the five images to your own registry. The Helm chart takes each image pinned by its digest, so note the digests after the push.

An upgrade is the same steps with the new release’s images and engine archive.

With Encryption:Kek=file, the default, the key-encryption key is made on first use in the folder of keys, and nothing reaches out for it. Back that folder up apart from the database. See Keys and key management.

After the first start, with the way out closed:

  1. GET /api/health answers 200 and names the worker’s engine release.
  2. Sign in, draw a model, save it and open its page.
  3. Download its report as a PDF.