> 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/proxies/mobile-proxies/whitelisting-ips.md).

# IP 白名单

为移动代理添加 IP 白名单，无需凭据即可访问代理池。学习配置 IPv4 地址并检查协议支持。

IP 白名单允许你通过连接已列入白名单的 IP，直接访问我们的移动代理池。

{% hint style="info" %}
你只能添加 IPv4 格式（xx.xx.xx.xx）的 IP。请确保你添加的 IP 是你自己的，并且你在 **当时没有使用代理或 VPN 服务** 时。
{% endhint %}

{% hint style="info" %}
`SOCKS5` 协议目前不支持白名单 IP。不过，你可以使用其他受支持的协议进行白名单设置。
{% endhint %}

#### 创建 IP 白名单

要将 IP 地址加入白名单，请登录到 [**控制面板**](https://dashboard.oxylabs.io/)，在左侧选择 **移动代理** → **白名单**，点击 **编辑白名单**。输入 **最多 10 个 IP** 以文本格式，然后点击提交。

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-c983f682d71f1fcde0b9069f0e89f5fdb4cb3a66%2FScreenshot%202023-06-23%20at%2012.34.28.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
如果区分代理用户之间的流量统计很重要，我们建议不要使用白名单 IP 功能，尤其是在同一个公网 IP 可能会被服务用户（团队、部门等）共享的情况下。

**注意：** 如果使用浏览器或无头浏览器，它将尝试在没有常规认证的情况下使用代理，并且只会在收到一个 `407`.
{% endhint %}

如果你想删除或更新列表，请将其作为文本文档编辑，然后点击 **提交**。如果你需要更多 IP，请联系我们的客户支持团队，联系邮箱： [**support@oxylabs.io**](mailto:support@oxylabs.io) 或通过我们网站上的 24/7 在线聊天 [**网站**](https://oxylabs.io/).


---

# 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, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/products/cn/proxies/mobile-proxies/whitelisting-ips.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
