> 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/products/cn/dai-li/datacenter-proxies/whitelisting.md).

# IP 白名单

通过在仪表板上创建 IP 白名单来验证您的 IP。登录您的账户并导航到 **数据中心代理** → **白名单** → **编辑白名单**，然后 **最多添加 10 个 IP** ，采用 IPv4 格式（xx.xx.xx.xx）。

<figure><img src="/files/326c33d869033fe04b4f1879cf9c8f73deb38e35" alt=""><figcaption></figcaption></figure>

使用 IP 白名单，您可以提供 `country` 参数在 `用户名` 字段中。\
执行 cURL 命令时，不要忘记添加一个 "`:`" 在末尾的 `用户名` 字符串，以防止 cURL 询问密码。&#x20;

```bash
curl -x dc.oxylabs.io:8000 -U 'country-US:' https://ip.oxylabs.io/location
```

***

在将 IP 地址添加到白名单时，请确保它仅属于您自己，并避免通过代理或 VPN 服务连接。

如果您使用 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/products/cn/dai-li/datacenter-proxies/whitelisting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
