> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/help-center/cn/chan-pin-yu-gong-neng/how-can-i-whitelist-ips.md).

# 如何将 IP 加入白名单？

了解如何通过 Oxylabs 控制面板将 IP 地址加入白名单。

本指南将带你了解如何通过以下方式为 IP 地址加入白名单 [Oxylabs 仪表板](https://dashboard.oxylabs.io/en/)。在控制面板中，此功能标记为 Allowlist，意思相同，只是名称不同。

IP 白名单适用于 [住宅代理](/help-center/cn/overview.md), [移动代理](https://developers.oxylabs.io/products/proxies/mobile-proxies), [数据中心代理](https://developers.oxylabs.io/products/proxies/datacenter-proxies)，以及 [ISP代理](https://developers.oxylabs.io/products/proxies/isp-proxies)。你可以在设置新实例时添加 IP 地址，或稍后在实例设置中更新。

要通过控制面板将 IP 加入白名单，请前往 **全部产品**，然后选择要编辑的实例： **你的实例 → 配置 → 身份验证**。更多详情请参阅我们的文档。

<img src="https://523389500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGNgdeKVOM3XvAaPheYj%2Fuploads%2F8dxL6H23PQGgjPires1k%2Funknown.png?alt=media&amp;token=100c5703-4db9-40d2-ad84-503eaba3abb9" alt="" height="337" width="624">

<img src="https://523389500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGNgdeKVOM3XvAaPheYj%2Fuploads%2F1Qi1ttxLceDvGJyX1R8b%2Funknown.png?alt=media&amp;token=873975d0-6bdd-4652-8a57-84b2b78fd340" alt="" height="327" width="624">

你也可以更快地进入：前往你的实例并点击 **已加入白名单的 IP**。这会打开一个窗口，你可以在其中编辑并保存你的允许列表。

<img src="https://523389500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGNgdeKVOM3XvAaPheYj%2Fuploads%2FScYqaZukQ4cORDUotYyk%2Funknown.png?alt=media&amp;token=4976af3c-79b2-434e-bba8-0506f90dce9c" alt="" height="332" width="624">

对于 [独享数据中心代理](https://developers.oxylabs.io/products/proxies/dedicated-datacenter-proxies)，你也可以通过 RESTful 向我们的端点发送请求来将 IP 加入白名单。请访问我们文档中的这个 RESTful 页面了解更多信息。

在将 IP 加入白名单时，请提供最多 10 个 IPv4 格式地址（xx.xx.xx.xx）。确保每个地址都仅属于你自己，不是代理或 VPN 服务。

目前，SOCKS5 协议不支持已加入白名单的 IP，企业独享数据中心代理除外，在这种情况下客户可以申请 IP 白名单。如果你希望在使用 Proxy Rotator 或 SOCKS5 时将 IP 加入白名单，请联系你的客户经理或我们的客户支持。他们会将你的 IP 添加到防火墙例外规则中。

对于 Amazon Web Services (AWS) 等服务的用户，我们强烈建议使用用户名和密码认证，而不要只依赖 IP 白名单。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/help-center/cn/chan-pin-yu-gong-neng/how-can-i-whitelist-ips.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
