Deployments

Choose how package managers reach the firewall.

The firewall only protects installs that go through it. There are two ways to get them there.

ApproachWhat changesBest forPage
Configure the registryEach package manager points at sfw.example.comDeveloper laptops, CI runners, a first POCDev, CI/CD
DNS overrideregistry.npmjs.org, pypi.org and similar resolve to the firewallFleets where you can't touch every tool's configDNS override

Choosing a deployment method

  • Start with registry config. It is easy to undo.
  • Move to DNS override when you want coverage without per-tool config, typically pushed by MDM or set in corporate DNS. Every existing npm install and pip install command keeps working unchanged.
  • Either way, clients must trust the firewall's certificate. Use a certificate from your internal CA, or distribute the self-signed one.

Artifactory and Nexus

Point the artifact manager's remote repositories at the firewall instead of at the public registries. Developers keep using the artifact manager and change nothing. See the Artifactory and Nexus guides.

🚧

Nexus block responses

When the firewall blocks a package it returns a 403 status with x-socket-decision: blocked and x-socket-block-reason headers. Nexus does not pass this response to the client. The client instead receives a 404 status with the error text Package 'lodahs' not found. The 403 status and its headers only appear when you request the package from the firewall directly.


Did this page help you?