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.
| Approach | What changes | Best for | Page |
|---|---|---|---|
| Configure the registry | Each package manager points at sfw.example.com | Developer laptops, CI runners, a first POC | Dev, CI/CD |
| DNS override | registry.npmjs.org, pypi.org and similar resolve to the firewall | Fleets where you can't touch every tool's config | DNS 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 installandpip installcommand 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 responsesWhen the firewall blocks a package it returns a
403status withx-socket-decision: blockedandx-socket-block-reasonheaders. Nexus does not pass this response to the client. The client instead receives a404status with the error textPackage 'lodahs' not found. The403status and its headers only appear when you request the package from the firewall directly.
Updated 6 days ago
Did this page help you?