Running n8n in an air-gapped network: what changes and when teams need it
You can self-host n8n in a network with no internet access, but every outbound dependency has to be identified and handled before go-live. That includes telemetry, version checks, the templates library, package and community node installs, and any external API your workflows call. Each one either needs a disabled setting, a copy held inside the network, or a documented exception approved by your security team. n8n is source-available under the Sustainable Use License rather than an OSI open-source license, so the license terms and the path for applying a license certificate also have to work offline. Confirm those terms against the n8n LICENSE.md file and your own use case before you plan the build.
Teams usually need this setup when a regulator, customer contract or internal policy prohibits outbound connections from the systems that process sensitive data. Common triggers are sector rules for financial, health and public-sector systems, OT-adjacent networks where automation sits near industrial control environments, and data residency requirements that keep workflow data inside a defined boundary. In these cases the workflow engine is often one of several systems that cross the boundary, so n8n should be assessed alongside its database, proxy, container images and any AI model endpoints it calls. Ask your compliance team which control families apply, and do not assume that a restricted network satisfies any specific requirement by default.
Plan the isolated design as an inventory exercise before any installation. List each n8n feature your team intends to use, note which ones contact external hosts, and record who owns the exception or the offline substitute. Confirm with n8n which features and editions support offline operation, since some capabilities such as SSO, Git-backed environments and multi-main high availability depend on the plan you hold. Your partner or internal team should also confirm how images, packages and nodes will be transferred into the network and verified, because every item carried across the boundary becomes part of your supply chain record.
Which offline settings fit which network constraint
This table compares the offline settings that matter in an isolated n8n deployment, what each one is for, and what fails if it stays at its default. Read each row against your own constraint, such as no egress at all, approved egress only, or a restricted image registry. Confirm every variable name and default in n8n's self-hosting documentation before you change it.
| Setting | Fits when | What breaks if left on |
|---|---|---|
| Telemetry and diagnostics | Outbound analytics traffic is blocked or not approved for the network. | Outbound calls fail and add log noise, and usage data may leave the boundary wherever an egress path exists. |
| Version and update notifications | Patching moves through approved media and your change process. | Users see upgrade prompts for versions they cannot download, which invites unplanned changes. |
| Templates library | The public template catalog is blocked, so teams build from internal or vetted exports. | Template browsing shows errors or empty results, and staff may import workflows from unvetted sources. |
| Offline license handling | Enterprise features or files under .ee directories are in use on an isolated network. | Enterprise features may not activate or renew. Confirm the offline activation path with n8n before go-live. |
| Private registry for the n8n image | Hosts or clusters cannot pull from public registries. | Deployments fail on pull, or teams run unscanned images. Mirror and pin each release you approve. |
| Community and custom nodes from a private source | Internal integrations or community nodes must be installed inside the boundary. | Installs from the public package source fail. Unverified packages can run code with instance privileges, so check each one. |
| Outbound calls to external APIs | Workflows must reach only approved internal systems. | Workflows calling external services fail at run time. Enforce destination allowlists at the firewall and confirm the n8n controls for your version. |
How to set up n8n in an isolated network
This sequence takes an n8n instance from a connected staging environment to a server inside a network with no internet access. Each step ends with a check, so the team can show what was carried across the boundary, what was switched off, and that a workflow runs with egress blocked.
Inventory every outbound dependency
The platform owner and the network team list everything the n8n instance and its database and queue services try to reach: DNS resolvers, package and image registries, telemetry and update endpoints, the templates library, license validation, and every external API a planned workflow calls. Mark each item as needed, optional, or to be replaced by an internal service. The step is complete when the list is signed off by both teams and each entry has an owner. Confirm the exact endpoints against the n8n documentation for your release, because the list changes between versions.
Mirror images into an internal registry
The platform team pulls the n8n image at the exact tag chosen for the deployment, along with the PostgreSQL and Redis images used in queue mode, and any sidecar images such as a task runner. Each image is pushed to the internal registry under a pinned tag, with a digest recorded. The step is complete when a node inside the isolated network can pull every image from the internal registry and the digests match the source images. Ask your registry vendor how it handles mirroring and signing, and confirm the behavior before relying on it.
Transfer and verify artifacts across the boundary
Images, installation archives, and any packages are moved across the boundary through the transfer process your security policy approves, such as a controlled media or data diode workflow. On the inside, the team recomputes checksums and verifies signatures where the publisher provides them, then compares the results against the manifest created on the outside. Under NERC CIP-013-2 the procurement process must address verification of software integrity and authenticity, so keep the manifest and verification record as evidence. The step is complete when every artifact matches its recorded hash and the manifest is stored with the change record.
Switch off telemetry and update checks
The platform team sets the n8n environment variables that disable diagnostics reporting, version notifications, and template library access, then confirms the names and values against the documentation for the pinned release. Settings are recorded in the deployment configuration so they survive restarts and redeployments. The step is complete when a restart produces no outbound connection attempts for these features in the logs, and the editor shows no update prompt that depends on internet access. Verify each variable name before deployment because they are version-specific.
Load the license for offline use
The organization's license administrator confirms the edition in use and whether it includes features covered by a separate enterprise license, since files with .ee in their name require a valid n8n Enterprise License. The licence is then applied through the method n8n documents for offline activation, with the license file or key placed in the isolated environment through the approved transfer path. The step is complete when the instance reports the expected license state after a restart with no internet access. Ask n8n which activation method applies to your contract before starting.
Install approved nodes from a private source
The platform team builds a list of community and custom nodes approved for the environment, and each package is obtained, scanned, and stored in an internal package source or copied into the image build. Nodes that call external services are reviewed against the outbound dependency inventory from the first step. The step is complete when the instance loads only the approved packages, the list is recorded with versions and hashes, and an unapproved package cannot be installed from the editor. Confirm with n8n how private node installation is supported for your edition.
Test workflows with egress blocked
The network team enforces a deny-by-default outbound policy for the n8n host, database, and queue services, and the platform team runs representative workflows covering triggers, webhooks, internal API calls, and credential use. The firewall and DNS logs are reviewed during each run to confirm there are no DNS queries or outbound connection attempts to addresses outside the approved list. Any blocked attempt is traced to a workflow, node, or setting and fixed before retesting. The step is complete when a full test run finishes with clean logs, and the results are filed with the configuration record.
How artifacts and traffic cross the isolated boundary
The flow starts in an external staging zone, where images and community nodes are pulled and checked before anything moves. A controlled transfer step carries the verified artifacts across the boundary into a private registry, and the n8n main instance, workers, PostgreSQL and Redis pull from there and never reach the internet. The dashed path marks the only exception route, an approved endpoint that needs a documented owner, a time limit and logging. Check the integrity step before every crossing, because it is the control that proves what entered the zone.
Artifacts pass a verification gate before entering the isolated zone, and exceptions are the only dashed path out.
Which n8n nodes still need outbound access
Nodes for hosted services such as email providers, chat tools, CRMs, payment platforms and AI model APIs send requests from n8n to a vendor endpoint on the public internet. In an isolated network these calls fail unless an approved egress path exists. Two patterns are common: a controlled proxy that allows named vendor domains, or a relay service inside the approved zone that receives requests from n8n and forwards them outward. Either option needs a decision from the network and security owners, because each one creates a new point where traffic, credentials and logs are visible.
- Hosted AI model APIs: Chat and embedding nodes that call a vendor's cloud endpoint need outbound access to that endpoint, and the prompt data they send leaves your boundary.
- Messaging and collaboration: Chat, email and calendar nodes depend on vendor APIs and often on OAuth token refresh, which needs outbound access as well.
- Business SaaS: CRM, ticketing and billing nodes usually reach a vendor tenant domain, so the allowlist must cover each tenant host and not only the brand name.
- Inbound callbacks: Webhooks from SaaS vendors reach n8n only if the vendor can route traffic to your public endpoint, which an isolated network usually does not provide.
Check each vendor's documented domains and ports, confirm whether it needs inbound callbacks, and then test the path from the worker host itself.
Nodes that connect to databases, directory services, internal APIs, file stores and self-hosted applications work in an isolated network when the target is reachable from every process that runs the node. The main remaining issue is trust. If the target presents a certificate signed by an internal certificate authority, n8n must trust that authority, and internal hostnames must resolve through the same DNS your operators use. Plan these paths as firewall rules and certificate work rather than as changes to individual workflows.
- Reachability by process: Confirm routes from the main instance, every worker and every webhook processor, because a node that works in the main instance can still fail in a worker placed in another subnet.
- Internal CA trust: Provide the internal root and intermediate certificates so HTTPS calls to internal APIs verify correctly without disabling certificate checks.
- Name resolution: Internal hostnames must resolve inside the container or pod network, which often requires explicit DNS configuration.
- Database and directory connections: Database and LDAP nodes depend on protocol, port and TLS settings that the owning team of the target system must supply.
- Scoped service accounts: Give each internal connection an account limited to the data the workflow needs, since a node can reach whatever the stored credential allows.
Test each internal connection from the actual worker host, using the same certificate chain and DNS that n8n will use in production.
Local language models, embedding services and vector databases are usually the easiest category to keep inside the boundary, because the endpoint can sit on your own network. The work lies in configuration. The node must point at an internal base URL, the model must be present in the isolated environment before any workflow runs, and any file the service downloads on first start must come from a mirror you control. Confirm this for each service you run, because some runtimes fetch tokenizers, model weights or plugins during start-up.
- Local runtimes: Nodes that call a self-hosted model server need its internal base URL in the credential, and the model weights must be loaded ahead of time.
- Vector stores: Nodes for vector databases connect to an internal address and port, with TLS and API keys configured on the database side.
- Start-up downloads: Some runtimes download tokenizers or weights on first use, so pre-stage those files or point the runtime at an internal artifact store.
- Fallback branches: A workflow that falls back to a cloud model keeps outbound access open even when the primary model is local, so review every branch.
- Model provenance: Model files carried across the boundary need integrity checks and a written record of origin, which supports the supply chain controls that auditors often test.
Run each AI workflow with outbound traffic blocked at the network layer, and confirm that no branch silently falls back to a vendor endpoint.
Community nodes are npm packages that extend n8n. Installing or updating them fetches packages from the public registry unless the installer is pointed elsewhere, and a package can pull in its own transitive dependencies. One node may therefore need access to a package source that nobody named in the change request. In an isolated network, the safer approach is to host an internal package registry, mirror approved packages into it and install only from that source. Record each package version and its origin before it enters the boundary.
- Install-time access: Installing a community node or upgrading n8n's package dependencies reaches the npm registry unless the install path points to an internal mirror.
- Transitive dependencies: Review the full dependency tree of each package, since a node that looks self-contained may bring in many modules.
- Private custom nodes: Nodes your team builds still depend on npm packages for build and runtime, so the same internal mirror must serve them.
- Vendor SDKs: Some community nodes wrap a vendor SDK that calls a SaaS endpoint at run time, which moves them into the SaaS category.
- Pinned versions: Pin exact versions and keep a verified copy of each package archive, so an upgrade cannot enter the environment without review.
Ask the package maintainer which hosts the node contacts at run time, and record the answer next to the package version.
The only reliable list of outbound dependencies comes from your own workflows, because the same node can behave differently under different credentials, branches and environment settings. Review every workflow in the instances you plan to isolate, record each node type and the credential it uses, and note the host it contacts. Then confirm each dependency with the vendor or project. Vendor documentation changes over time, and node behavior depends on the version in use, so the inventory should name the n8n release and node package versions it was checked against.
- Every node type: Count nodes by type across all workflows, including inactive workflows that someone could switch on later.
- Credential mapping: Link each node to its credential, since the credential usually determines the destination host.
- Execution location: Record whether each node runs on the main instance, a worker or a webhook processor, because reachability differs between them.
- Vendor confirmation: Ask each vendor for its endpoint list, required ports, any inbound callback needs and whether it sends data or telemetry.
- Version record: Note the n8n and node package versions used for each check, since node behavior can change between releases.
Turn the finished inventory into a firewall request and a test plan that the security and platform teams approve together.
Security controls for an offline n8n instance
An n8n instance with no internet access still holds credentials, workflow logic and business data, and every change reaches it by hand. The six controls below cover what crosses the boundary, how keys and secrets are kept, what workflows may reach, who signs in, what gets recorded and how patches are re-verified.
Verify every artifact before import
Treat each image, node package, license file and workflow export as untrusted until it is checked on the inside of the boundary. Record a cryptographic hash of each file at the point of download, recompute it after transfer, and keep the signed release material with the file. Operators in regulated utilities often map this practice to the supply chain procurement concept in NERC CIP-013-2, which expects software integrity and authenticity to be verified for vendor software and patches. Confirm with n8n which artifacts publish signatures or checksums.
CIP-013-2 textKeep the encryption key inside the boundary
n8n encrypts stored credentials with a key held by the main instance, and queue mode requires that same key on every worker and webhook processor. Without an external secret manager in the isolated network, the key lives in a file, environment variable or orchestrator secret that you must create, back up and rotate yourself. Losing the key makes stored credentials unreadable, so store a sealed copy in a separate controlled location and test a restore. Confirm how your deployment method injects the key before the first start.
- Key across workers
- Shared
Restrict outbound requests from workflows
An offline network blocks internet egress, but workflows can still reach internal hosts they should not touch, including databases, admin consoles and metadata endpoints. Define which internal addresses each workflow may call, deny the rest at the network layer, and review HTTP Request and code nodes for hard-coded targets. Nodes that call external SaaS services will fail quietly or with timeouts, so list them during design rather than discovering them after go-live. Confirm the current outbound request controls in n8n's security documentation for your version.
Sign in without internet-hosted identity
Internet-hosted identity providers such as cloud-only SaaS directories are often unreachable from an isolated network, so plan a local identity source before installation. Options include an on-premises identity provider reachable from the enclave and local accounts with strong password and recovery procedures. Single sign-on through SAML is a paid-plan feature in n8n, so confirm the edition you need before you design the login path. Document a break-glass admin account, store its credentials in a sealed record, and test it.
n8n SAML docsLog administration and transfer records
Record who imported each artifact, when it crossed the boundary, what hash it carried and who approved it, in a system that the isolated network's own administrators cannot silently edit. Pair these transfer records with n8n's own audit and execution logs, and forward them to a local log store where retention is set by your policy. Decide retention periods with your compliance team, because no default here is guaranteed to meet your obligations. Confirm which audit events your n8n edition emits.
Re-verify patches on a set cadence
n8n ships minor releases roughly weekly, so an offline instance that patches on demand will fall behind quickly. Set a fixed review window, pick a version to track, and treat each new release as a change that needs hash checks, a test restore and a workflow regression pass in a staging enclave before production. Pin image tags and keep the previous known-good artifact so a rollback does not depend on the internet. Ask n8n which releases carry security fixes and how it announces them.
- Minor release pace
- Weekly
Moving images, packages and updates across the boundary safely
Every image, node package and n8n release that crosses into the isolated network should pass through one named approval chain before it is imported. Assign a responsible engineer to stage the artifact on the connected side, a second engineer to review the release notes and confirm the version, and a security owner to approve the import into the boundary. Record who approved each transfer, which version was carried and where the copy came from. Verify each artifact against the checksum or signature published by the source before it enters the enclave, and keep the verification output with the change record. Confirm with n8n exactly which image digests and package versions it publishes for offline use, since the supplied facts do not establish how n8n signs its images. Your review should also cover the n8n release notes, because breaking changes and database migrations appear there before the upgrade is run.
Populate the private registry from a manifest, not by hand. The manifest lists the exact n8n image tags or digests, the PostgreSQL and Redis images used by queue mode, and any custom node packages, pinned to specific versions. A scheduled job mirrors those entries into the internal registry and rejects anything that is not on the list. Because n8n ships minor releases roughly weekly, the cycle must be calendared and repeatable: pick a fixed review window, run the same steps each time, and skip releases your team has not approved rather than chasing every one. Review the release notes at each window, decide whether a patch matters for your exposure, and batch changes so the number of imports stays manageable.
Test every candidate in a non-production isolated copy before promoting it. Build a staging instance that mirrors production's database, queue mode workers, encryption key handling and proxy settings, then import the new image and run your critical workflows, credential checks and webhook tests. Confirm that the migration completes against a restored database snapshot and that the rollback path works. Promote to production only after the staging result is signed off by the same approvers who reviewed the release notes. Ask your integration partner to document each step so that the process survives staff changes.
Questions buyers ask before running n8n offline
Can n8n run with no internet access at all?
Yes, n8n can run on a network with no outbound internet access, but only after you decide which features you will switch off and which nodes will be unusable. The core workflow engine, the editor and your own internal integrations work from inside the boundary once the image, dependencies and license are in place. Expect to disable telemetry, version checks and the templates library, and to confirm that any node calling a public SaaS API will fail cleanly. Confirm the exact environment variables for your n8n version against the n8n documentation and test a full workflow run with the egress path closed before you call the build finished.
What does the offline work cost and who pays for it?
The cost has three parts: the engineering effort to build and verify the offline setup, the infrastructure to host images and packages inside the boundary, and the recurring work of carrying updates across it. Internal staff are paid through salary and time away from other projects. An external partner is paid under a written, fixed-scope agreement. Ask for a quote that lists each deliverable, the environments covered, the registry and package mirror work, the testing and the handover. Separate one-time build costs from recurring costs such as patch cycles, image refreshes and license renewals. n8n's own licensing cost depends on the edition you choose, so confirm the plan with n8n's pricing page before you commit.
How long does an offline n8n deployment take, and what drives the duration?
Duration depends on how many environments you run, how many nodes you need, and how mature your internal registries and approval processes are. The largest drivers are usually the time to get images and packages through your security review, the number of external integrations that need a private alternative, and the number of test cycles needed before go-live. Teams with an existing private registry and a documented change process generally move faster than teams building those from scratch. Ask any provider for a schedule tied to named milestones and to the approval gates in your environment, not a single headline figure.
What does our team need to provide for an offline build?
You will need to provide access to the isolated network, a private container registry, an internal package mirror or artifact store, and an internal DNS and certificate authority if your services use them. You also need named owners for the database, identity provider, secrets store and change approvals, plus a process for moving approved files across the boundary. On the n8n side, provide the licensing decision, the list of workflows and integrations that must work, and the test data that can be used. A written scope should list each of these as a client dependency with an owner and a date.
Can our own engineers build and run this without a partner?
Yes, a capable platform or infrastructure team can build and run an offline n8n deployment without an external partner, especially if it already operates container platforms, private registries and PostgreSQL. The work that tends to be underestimated is verification: proving that no hidden outbound call remains, that every node in use works offline, and that each upgrade can be carried across the boundary with its checksums recorded. Ask your team to list which of those skills it already has and which it would need to learn. DeployOpen can plan, implement, document and support the build inside your infrastructure under a written scope if you prefer to supplement your team.
Does an offline setup change the n8n license obligations?
Running n8n offline does not change the terms of the Sustainable Use License, but it can change which features and editions you need. n8n is source-available, not OSI open source, and the license allows use for your own internal business purposes, while files with .ee in their name or directory require a valid n8n Enterprise License. Confirm with n8n which edition covers your features before you deploy, and record how license keys are delivered to a network with no internet access. Your legal or procurement team should review the license text and your intended use together.
Which compliance frameworks make an air-gapped n8n build more important?
Isolated networks are common in critical infrastructure, where NERC CIP-013-2 requires supply chain processes that address verification of software integrity and authenticity for vendor software and patches. Every package carried across the boundary needs a checksum or signature check and a recorded approval. Confirm with your compliance lead which standards apply to your environment, then ask any partner to map its offline procedures to those requirements. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue the actual audit results.
What DeployOpen delivers for an isolated n8n deployment
DeployOpen delivers an isolated n8n deployment as a fixed-scope engagement inside your own infrastructure, whether that is a cloud account, a data center or an air-gapped network. The work starts with a dependency inventory: every container image, npm package, community node, template source, database driver and certificate authority the instance will touch, mapped to who approves it and how it gets across the boundary. Each item is checked for source, version and integrity before it is allowed in. That inventory then drives the offline installation, covering the n8n image, the PostgreSQL and Redis versions if queue mode is used, and any task runner or sandbox components, all pulled into a private registry rather than fetched at install time.
The second part is the private registry and artifact process. DeployOpen sets up how images and packages are mirrored, tagged, scanned and promoted into the isolated network, and how upgrades arrive through the same path. Configuration evidence follows: the settings that disable telemetry, version checks and the templates library, the encryption key handling, SSO and access settings, logging and backup configuration, each recorded so your compliance and security teams can review what was set and why. Where a control maps to a framework such as NERC CIP-013-2 or a customer questionnaire, DeployOpen documents the operating evidence in your terms. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations, and this work prepares the systems and records they will examine.
The engagement ends with an operations runbook written for the team that will run the instance: how to apply an approved update, restore from backup, rotate credentials, handle a license certificate renewal and respond to a failed offline update. Confirm with DeployOpen during scoping which items are in the agreed deliverables and which remain your responsibility, and agree the scope, deliverables and timeline in writing before any work starts.
How DeployOpen works on this
DeployOpen treats an isolated n8n deployment as a planned system rather than a one-off install. We start from the network boundary, the update path and the license requirements, then build and document the instance inside your infrastructure so your security and compliance teams can review it.
How we scope
- Map which n8n nodes and outbound endpoints your workflows need, and which ones can be removed or blocked.
- Agree the image, package and license transfer path across the isolation boundary before any build work starts.
- Confirm the written scope, deliverables and timeline for your air-gapped n8n instance in writing before work begins.
How we build
- Configure telemetry, version checks and the templates library off inside your environment and verify each setting.
- Set up a private registry for n8n images and any community nodes, with checksum verification at each import.
- Test workflows with outbound access blocked, then document every failure and the approved workaround for each.
How we hand over
- Deliver runbooks covering offline updates, license certificate renewal, node additions and the import checklist.
- Document the network allowlist, data flows and the evidence your auditors will ask for during review.
- Walk your operations team through the setup and the rollback path before the handover is closed.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, scoped to your isolated environment.
- Retest the instance after each n8n release and each change to the isolation boundary or node set.
- Confirm with your team who owns package intake, approvals and emergency patching before support begins.

