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.
Names in the bundleNO_PROXY
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.
Added since
A small documentation edit on Use Claude Science on a corporate network touched a line naming NO_PROXY after this was published.
* On macOS, the Claude Science app reads a file named `env` in its data folder (`~/.claude-science/env` unless you moved the data folder) when it launches. The file holds `KEY=VALUE` lines (`export KEY=VALUE` also works). Put the three var…claude-science/corporate-networks see the edit
Confirmed since
Anthropic's documentation has since written up NO_PROXY, on Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry.
| 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
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up NO_PROXY, on Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud…
Anthropic's release notes agree
Added the gatewayInternalNetworks managed setting, letting administrators allow /login to a Claude apps gateway on their organization's own…