跳到正文

Claude IP 地址段:官方公布的白名单

Anthropic 文档里的地址段、每一段对应哪个方向,以及确认规则生效的检查方法。

官方公布的地址段

官方公布的地址段
项目地址段用途
入站 IPv4160.79.104.0/23、153.61.224.0/22让你的用户或服务器能连到 Claude
入站 IPv62607:6bc0::/48同上,针对 IPv6
出站 IPv4160.79.104.0/21、153.61.208.0/20放行 Anthropic 发到你服务器的请求,例如 MCP 工具调用
已停用五个以 34.162. 开头的 /32 地址从防火墙规则里删掉

抄自 Claude API 文档里 Anthropic 的 IP 地址页面,2026 年 11 月 11 日读取。该页面针对 Claude API 和 Claude Console;改防火墙前请重新读一遍。

入站和出站:各自放在哪

入站指 Anthropic 服务接收连接的地址,放进你的人或服务器访问 Claude 所经过的防火墙或代理的出口放行名单。出站指 Anthropic 自己发请求时所用的来源地址,放进需要被 Claude 调用的那台服务器前面的放行规则里,比如远程 MCP 服务器或 GitHub Enterprise Server。

Anthropic 的 Claude Code 文档对防火墙后的 GitHub Enterprise Server 也是同样的说法:放行 Anthropic 的出站地址,Anthropic 的基础设施才连得进去。

这些地址段管到哪里,哪些要按域名放行

Anthropic 的页面写明这些地址用于 Claude API 和 Claude Console,没说是否涵盖 claude.ai 和各个应用。我们 2026 年 11 月 11 日自己查询时,api.anthropic.com、claude.ai、platform.claude.com、claude.com 都解析到 160.79.104.10,在入站地址段内;但这只是一个解析器、一个时刻的结果,不是承诺。

各个应用请按 Claude Code 文档里的域名放行:api.anthropic.com、claude.ai、claude.com、platform.claude.com;桌面版和 claude.ai 还需要 assets-proxy.anthropic.com 和 *.claudeusercontent.com。文档写明只放行 claude.ai 而拦掉这些域名,会得到空白页。

可直接复制的官方地址清单

Inbound (where Anthropic receives connections)
160.79.104.0/23
153.61.224.0/22
2607:6bc0::/48

Outbound (source of Anthropic requests, e.g. MCP tool calls)
160.79.104.0/21
153.61.208.0/20

Phased out - remove from firewall rules
34.162.46.92/32
34.162.102.82/32
34.162.136.91/32
34.162.142.92/32
34.162.183.95/32

抄自 2026 年 11 月 11 日读到的 Anthropic 页面,仅供参考。写进规则前请重新读一遍原页面。

怎样把 Claude 加进防火墙放行名单

  1. 第 1 步

    打开 Anthropic 的 IP 地址页面,和上面的清单对一下。以原页面为准,不要以抄本为准。

  2. 第 2 步

    把三段入站地址加进需要用 Claude 的人或服务器所用的出口放行名单;各个应用再加上 Claude Code 文档里的域名。

  3. 第 3 步

    如果 Claude 需要调用你的服务器,把两段出站地址加到那台服务器前面的放行规则里。

  4. 第 4 步

    把以前放行过的五个已停用地址删掉。

  5. 第 5 步

    在规则生效的那台机器上运行 curl -sS -o /dev/null -w "%{http_code}\n" https://api.anthropic.com/,再用浏览器打开 claude.ai。

    预期结果 得到一个 HTTP 状态码,而不是超时或连接错误;这个测试不在乎具体是哪个状态码。

另一个方向:把你团队的地址放进 Claude 的白名单

Claude 还有一份方向相反的白名单。Anthropic 帮助中心写明:IP 白名单目前是面向 Enterprise 套餐和 Claude Platform 组织的公开测试功能,Enterprise 的 Owner 和 Claude Platform 的 Admin 可以自行管理,不必找 Anthropic。那份名单里放的是你的人用来连接的地址,所以这些地址必须保持不变。

如果你的团队没有固定的办公出口地址,租一个静态 ISP 的 IP 就可以当这个地址:30 天租约在租期内地址不变,并且由一个客户独享。Anthropic 的 Claude Code 文档还补充:只有当代理的出口地址专属于你的组织时,才应该把它加进名单,因为并非专属的代理地址段会把该代理的其他客户也放进来。

规则不生效时

浏览器页面空白

检查 assets-proxy.anthropic.com 和 *.claudeusercontent.com 有没有放行,不能只放行 claude.ai。

处理 把这些域名放行后刷新。

开了组织 IP 白名单后,Claude in Chrome 连不上 Claude Code

检查 bridge.claudeusercontent.com 是不是和 claude.ai 走同一个出口地址。Anthropic 按连接到达的地址,用你的白名单检查这个域名。

处理 让这个域名走同一个代理出口;或者在该出口地址专属于你们组织时,把它加进白名单。

Claude 要调用的服务器连不上

检查 那台服务器前面有没有放行两段出站地址,是不是只放行了那五个已停用的旧地址。

处理 用现行的出站地址段替换旧地址。

Claude IP 地址段:常见问题

Claude 的 IP 地址段是什么?

入站:160.79.104.0/23、153.61.224.0/22、2607:6bc0::/48;出站:160.79.104.0/21、153.61.208.0/20。来源:Anthropic 的 IP 地址页面,2026 年 11 月 11 日读取。

Claude 的 IP 会变吗?

Anthropic 说这些固定地址没有通知不会变动,并列出五个已停用、应从防火墙规则中删除的旧地址。

这些地址段涵盖 claude.ai 和各个应用吗?

Anthropic 的页面针对 Claude API 和 Claude Console,没有说明。各个应用请按 Claude Code 文档里的域名放行。

怎样在 Claude 里把团队的 IP 加进白名单?

IP 白名单目前是面向 Enterprise 套餐和 Claude Platform 组织的公开测试功能,Enterprise 的 Owner 和 Claude Platform 的 Admin 自行管理。

租来的静态 IP 能当我的白名单地址吗?

静态 ISP 租约在租期内地址不变,1 天 US$0.50 起,30 天 US$7.99,30 天租约由一个客户独享。Anthropic 建议只有当代理出口地址专属于你的组织时才加进白名单。

参考资料

5
  1. Claude API Docs: IP addresses

    官方文档 · 确认日期:

    Read in full on 11 November 2026. The page says Anthropic services use fixed IP addresses for inbound and outbound connections, to configure firewall rules for the Claude API and Claude Console, and that these addresses will not change without notice. Inbound IPv4: 160.79.104.0/23 and 153.61.224.0/22; inbound IPv6: 2607:6bc0::/48. Outbound IPv4, the stable addresses for outbound requests such as MCP tool calls to external servers: 160.79.104.0/21 and 153.61.208.0/20. Phased out and no longer in use: 34.162.46.92/32, 34.162.102.82/32, 34.162.136.91/32, 34.162.142.92/32 and 34.162.183.95/32; anyone who allowlisted them should remove them.

  2. Claude Help Center: Restrict access to Claude with IP allowlisting

    官方文档 · 确认日期:

    Read on 11 November 2026: IP allowlisting is in public beta for Enterprise plans and Claude Platform organizations; Owners on Enterprise plans and Admins on Claude Platform can set up and manage it without involving Anthropic; artifacts shared outside the organization are not limited by the allowlist.

  3. Claude Code documentation: Enterprise network configuration

    官方文档 · 确认日期:

    Read on 11 November 2026: the URLs Claude Code needs (api.anthropic.com, claude.ai, claude.com, platform.claude.com, among others); with organization IP allowlisting on, bridge.claudeusercontent.com is checked against the allowlist by the address the connection arrives from, so it must leave through the same egress as claude.ai; a proxy egress address may be added to the allowlist only when it is dedicated to your organization, because a range that is not dedicated also admits other customers of that proxy; for GitHub Enterprise Server behind a firewall, allow Anthropic's outbound IP addresses.

  4. Local DNS lookup of Anthropic hostnames

    本地示例 · 确认日期:

    Run on 11 November 2026 from one machine with its default resolver: api.anthropic.com, claude.ai, platform.claude.com and claude.com each returned 160.79.104.10 (IPv4) and 2607:6bc0::10 (IPv6), both inside the published inbound ranges.

    One resolver at one moment. DNS answers depend on location and time.

  5. Proxy302 product facts and price list

    产品观察 · 确认日期:

    Product facts file of the site, checked 10 November 2026 against the console, the backend and the price table: per-IP lease prices in US$ (1 PTC = US$1) for 1 to 90 days, HTTP port 2222 and SOCKS5 port 3333, quantity limit, no free trial, optional auto-renew.

准备好试试了吗?

注册账号、充值一次,就能选动态住宅、静态 ISP 或数据中心 IP,几分钟配进你的浏览器。