Skip to content

Connectivity & network topologies

A host becomes scannable by running a sidecar that proves your organization controls it. How RingZero reaches that host — to verify registration and to run scans — depends on where it lives. There are two connectivity modes, and most fleets use both.

DirectGateway
ForPublic, internet-reachable hostsPrivate / internal hosts
Registration challengeRingZero dials the host’s public addressRuns over the sidecar’s outbound connection to an in-network gateway
Scan trafficRingZero probes the host directlyA Scan Gateway probes from inside your network
Inbound from internetPort 7301 (allowlistable)None
What you deploySidecar per hostSidecar per host + a Scan Gateway per network

Direct mode is the model described throughout these docs: the sidecar attests, RingZero connects back to the attested address to satisfy the challenge, and scans reach the host over the internet. It’s the simplest path when the host is publicly reachable.

Gateway mode exists because most infrastructure isn’t publicly reachable — and exposing it to the internet just to run a security scan would be self-defeating. You deploy a Scan Gateway inside the network; sidecars talk only to the gateway; the gateway holds a single outbound tunnel to RingZero and runs scan probes from inside. No internal host is ever exposed.

ScenarioModeWhy
Public cloud VM with a public IPDirectInternet-reachable, so the strongest challenge (RingZero dials the address itself) works and needs no extra component.
Private VPC / subnet, no ingressGatewayNothing can dial in; an in-VPC gateway registers and scans over one outbound 443. (Hosts addressed only by globally-routable IPv6 aren’t “private” — those use direct mode on that address.)
On-prem / corporate LAN behind NATGatewayOutbound 443 only — no port-forwarding, no exposing internal hosts.
Kubernetes ClusterIP-only servicesGatewaySidecars dial the gateway outbound — no Service ingress, and it sidesteps the challenge round-robin problem entirely.
Multiple isolated networks / segmentsOne gateway per segmentEach gateway has its own approved network scope; hosts register through the gateway in their segment. Run several per segment for HA.
Fully air-gapped (no outbound at all)Not supported in v1The model needs an outbound tunnel. Fully air-gapped environments are on the enterprise self-hosted roadmap — contact us.

How ownership stays enforced — and the public internet stays safe

Section titled “How ownership stays enforced — and the public internet stays safe”

RingZero’s core promise doesn’t change: scans only ever target registered hosts, and RingZero must never become a scanner someone can point at the open internet. Each mode upholds that differently, and it’s worth being precise about how.

Direct mode. RingZero dials the attested public address for the challenge itself, off your network path. A third party won’t answer with a valid host-credential signature, so this proves control of that specific address — strong enough to protect even a single public host that isn’t yours.

Gateway mode. Three mechanisms, each protecting a different thing:

  • RingZero-side routing is the authoritative guarantee for the public internet. RingZero only ever routes a scan to a gateway for a target that is an active registered host and whose address is within that gateway’s approved, non-publicly-routable network_scope — RFC1918 (10/8, 172.16/12, 192.168/16), CGNAT (100.64/10), IPv6 ULA (fc00::/7). It never routes a probe to a public IP. A public host can’t be a gateway host at all; it uses direct mode.
  • mTLS org-pinning is the guarantee against other tenants: the gateway’s tunnel credential is bound to one organization, so RingZero never routes one org’s scans to another org’s gateway.
  • Gateway-side re-checking is defense-in-depth for honest bugs: an uncompromised gateway independently refuses any egress whose target isn’t an active in-scope host. (Against a compromised gateway this check isn’t independent — the attacker controls it — which is why the RingZero-side routing above is what actually holds the line.)

Per-host ownership proof is unchanged in both modes: every scanned host still ran a sidecar you deployed. The gateway provides the network path, never a shortcut around registration.