Admins can lock Claude Code sign-in to a gateway that resolves only within their org's declared network CIDR blocks
What
A new admin-only managed-settings key, gatewayInternalNetworks, lets an organization declare the CIDR (network address range) blocks its Cloud gateway login host must resolve within.
- Up to 4 non-overlapping blocks can be listed; Claude Code validates them and rejects public/documentation/reserved or overlapping ranges, and caps how many can be listed.
- On
/login, Claude Code checks that both DNS resolution and the actual TLS connection to the gateway land inside a declared network, and refuses sign-in with a specific error if the machine's address or the gateway's answer falls outside it. - If the resolved gateway host falls inside a declared network but the connection would route through an HTTP proxy, login now refuses to proceed and tells the user to add the host to
NO_PROXYinstead. - The setting is merged using "highest source wins" rules, the same treatment given to
forceLoginOrgUUID,forceLoginMethod, andforceLoginGatewayUrl, and it's threaded into the OAuth/gateway login screen.
Why
This lets an organization pin employee sign-in to a gateway that only exists on its own private or approved network, closing off sign-in attempts (or man-in-the-middle style redirects) that resolve or connect outside that network.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
| Private-network address | At `/login`, Claude Code requires the gateway's hostname or IP address to resolve only to private addresses: RFC 1918, link-local, CGNAT `100.64.0.0/10`, IPv6 ULA `fc00::/7`, or loopback. For a gateway you host,…claude-apps-gateway see the edit
Anthropic's documentation has since written up NO_PROXY, on Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud…
Added the gatewayInternalNetworks managed setting, letting administrators allow /login to a Claude apps gateway on their organization's own…