> 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/integrations/cn/proxy-integrations/dicloak.md).

# DICloak

逐步了解如何使用 Oxylabs 代理设置和使用 DICloak。

[**DICloak**](https://dicloak.com/) 是一款反检测浏览器，旨在隐藏数字指纹并模拟真实的浏览环境。

请按照以下说明集成以下 Oxylabs 代理：

* [**住宅代理和移动代理**](#residential-and-mobile-proxies)
* [**数据中心代理**](#datacenter-proxies)
* [**独享数据中心代理（企业版）**](#dedicated-datacenter-proxies-enterprise)
* [**独享数据中心代理（自助服务版）**](#dedicated-datacenter-proxies-self-service)
* [**ISP代理**](#isp-proxies)

{% stepper %}
{% step %}

### 设置 DICloak

从以下位置下载 DICloak [**官方网站**](https://dicloak.com/download)，启动应用并登录。
{% endstep %}

{% step %}

### 添加新代理

选择 **代理** 选项卡并点击 **创建代理**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-69bacc3806522080da0a042470daa19cb1ad1def%2Fdicloak-create-proxy.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 输入代理详情

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-052fae0232ac9b41994595ebf6b3c2dd5ee8007f%2Fdicloak-enter-proxy-details.png?alt=media" alt=""><figcaption></figcaption></figure>

选择一种代理类型（HTTP、HTTPS 或 [SOCKS5](https://oxylabs.io/products/socks5-proxies) 协议），然后输入你的代理详情和 Oxylabs 代理用户的凭据。使用相同的 `username` 并 `password` 中创建新代理用户时输入的相同 [Oxylabs 控制面板](https://dashboard.oxylabs.io/en/).

* [住宅代理和移动代理](#residential-and-mobile-proxies)
* [数据中心代理](#datacenter-proxies)
* [独享数据中心代理（企业版）](#dedicated-datacenter-proxies-enterprise)
* [独享数据中心代理（自助服务版）](#dedicated-datacenter-proxies-self-service)
* [ISP代理](#isp-proxies)

#### 住宅代理和移动代理

**代理类型：** `HTTP`, `HTTPS`，或 `SOCKS5`

**主机：** `pr.oxylabs.io`

**端口：** `7777`

**代理账户：** `customer-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `customer-` 用户名前缀。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-1c5a13a07333aecd067eff7aebfa788f65ac6b3f%2Fdicloak-resi.png?alt=media" alt=""><figcaption></figcaption></figure>

你还可以使用 **附加参数** 与住宅代理和移动代理一起设置地理位置（国家、州、省、市等）并控制会话。请查看 [住宅代理文档](/products/cn/proxies/residential-proxies.md) 了解更多。下表概述了可用参数及其示例值。

<table><thead><tr><th width="167">代理参数</th><th width="412">示例</th><th>协议</th></tr></thead><tbody><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-country.md#country-specific-entry-nodes">国家入口节点</a></td><td><p><strong>主机：</strong> <code>//us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10000</code></p></td><td><p>HTTP、</p><p>HTTPS</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-country.md">国家</a></td><td><strong>用户：</strong> <code>customer-username-cc-US</code></td><td><p>HTTP、</p><p>HTTPS，</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-state.md">州</a></td><td><strong>用户：</strong> <code>customer-username-st-US_texas</code></td><td><p>HTTP、</p><p>HTTPS，</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-city.md">城市</a></td><td><strong>用户：</strong> <code>customer-username-city-paris</code></td><td><p>HTTP、</p><p>HTTPS，</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/continent.md">洲</a></td><td><strong>用户：</strong> <code>customer-username-cn-NA</code></td><td><p>HTTP、</p><p>HTTPS，</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/zip-postal-code.md">邮政编码</a></td><td><strong>用户：</strong> <code>customer-username-cc-US-postalcode-90210</code></td><td><p>HTTP、HTTPS、</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/asn-targeting.md">ASN 定位</a></td><td><strong>用户：</strong> <code>customer-username-ASN-21928</code></td><td><p>HTTP、</p><p>HTTPS，</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/session-control.md">会话</a></td><td><strong>用户：</strong> <code>customer-username-sessid-qwerty123-sesstime-30</code></td><td><p>HTTP、</p><p>HTTPS，</p><p>SOCKS5</p></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/session-control.md#sticky-proxy-entry-nodes">粘性会话</a></td><td><p><strong>主机：</strong> <code>//us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10001</code></p></td><td>HTTP、<br>HTTPS</td></tr></tbody></table>

#### 数据中心代理

**代理类型：** `HTTP`, `HTTPS`，或 `SOCKS5`

**主机：** `dc.oxylabs.io`

**端口：** `8001`

**代理账户：** `user-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 用户名前缀。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-c1b4652a2ba1f01af392718caf46669643625200%2Fdicloak-dc-gb.png?alt=media" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="按 IP 付费代理" %}
端口是分配给来自 [代理列表](/products/cn/proxies/datacenter-proxies/proxy-list.md)的 IP 地址的顺序编号。因此，端口 `8001` 将始终使用你列表中的第一个 IP 地址。你也可以通过将端口设置为 [代理 IP 轮换](/products/cn/proxies/datacenter-proxies/ip-control.md) 来启用 `8000`.

此外，你还可以指定 [地理位置](/products/cn/proxies/datacenter-proxies/select-country.md)，例如美国，方法是将 **代理用户名** 设置为 `user-USERNAME-country-US`.
{% endtab %}

{% tab title="按流量付费代理" %}
该端口 `8001` 会随机选择一个 IP 地址，但在会话期间保持一致。或者，你可以通过使用端口 [轮换代理 IP](/products/cn/proxies/datacenter-proxies/ip-control.md) 来在每个请求中更换 IP `8000`.

如果你想使用特定的 [地理位置](/products/cn/proxies/datacenter-proxies/select-country.md)，例如美国，请将 **代理用户名** 设置为 `user-USERNAME-country-US`.
{% endtab %}
{% endtabs %}

#### 独享数据中心代理（企业版）

**代理类型：** `HTTP`, `HTTPS`，或 `SOCKS5`

**主机：** `1.2.3.4` （来自你的 [代理列表](/products/cn/proxies/dedicated-datacenter-proxies/enterprise/proxy-lists.md))

**端口：** `60000` （HTTP/HTTPS）或 `1180` (SOCKS5)

**代理账户：** `USERNAME`

**代理密码：** `PASSWORD`

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-c44dfaff4fac8c2833b24dfc9cad4b05772b6acc%2Fdicloak-ddc-enterprise.png?alt=media" alt=""><figcaption></figcaption></figure>

对于企业版独享数据中心代理，您必须从已获取的 [代理列表](/products/cn/proxies/dedicated-datacenter-proxies/enterprise/proxy-lists.md).

#### 独享数据中心代理（自助服务版）

**代理类型：** `HTTP`, `HTTPS`，或 `SOCKS5`

**主机：** `ddc.oxylabs.io`

**端口：** `8001`

**代理账户：** `user-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 用户名前缀。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-fd20924051c830a371217aeb2304c6da52f79a5d%2Fdicloak-ddc-ss.png?alt=media" alt=""><figcaption></figcaption></figure>

对于自助服务独享数据中心代理，端口表示来自已获取 [代理列表](/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-list.md)的 IP 地址的顺序编号。如果你希望每个请求都获得不同的 IP，请将端口改为 `8000` 以启用 [代理轮换](/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-rotation.md).

#### ISP代理

**代理类型：** `HTTP`, `HTTPS`，或 `SOCKS5`

**主机：** `isp.oxylabs.io`

**端口：** `8001`

**代理账户：** `user-USERNAME`

**代理密码：** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 用户名前缀。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-0a14964e8b0cfce2d0925af45eba982859ad9756%2Fdicloak-isp.png?alt=media" alt=""><figcaption></figcaption></figure>

对于 ISP 代理，端口会分配给一个特定的 IP 地址及其位置。因此，端口 `8001` 将始终选择你 [代理列表](/products/cn/proxies/isp-proxies/proxy-list.md).

中的第一个 IP。如果你希望每个请求都获得不同的 IP，请将端口改为 `8000` 以启用 [代理轮换](/products/cn/proxies/isp-proxies/proxy-rotation.md).
{% endstep %}

{% step %}

### 测试

要检查代理功能，请选择你的 IP 查询渠道（IP-API 或 IP2Location），然后点击 **检查代理**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-432719e0156f776df134981a50eb0deb5ecd312a%2Fdicloak-test-proxy.png?alt=media" alt=""><figcaption></figcaption></figure>

如果测试成功，你将看到一个已激活的代理 IP 地址。

最后， **“Confirm”** 你的新代理。你可以添加任意数量的代理，并将它们与不同的配置文件进行配对或取消配对。
{% endstep %}

{% step %}

### 创建浏览器配置文件

前往 **配置文件** 选项卡并选择 **创建配置文件**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-44f8919b89982daafa3ea12f29747b1b872d9990%2Fdicloak-create-profile.png?alt=media" alt=""><figcaption></figcaption></figure>

在那里，输入你的 **配置文件名称**和 **选择你刚添加的代理** 从 **已保存的代理**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-943359b69a6ac94f370ec7d10a9a78e1cce0c25a%2Fdicloak-profile-details.png?alt=media" alt=""><figcaption></figcaption></figure>

如有需要，可使用自定义浏览器指纹调整你的配置文件，包括用户代理、Cookie 以及硬件或软件参数。

要完成配置文件，请点击 **“Confirm”** 屏幕底部的。
{% endstep %}

{% step %}

### 运行新配置文件

按 **打开** 在配置文件的操作列中，以启动私密浏览器并继续执行你的任务。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-83d2cc38e4be65c06222571f427a9cf3c169507d%2Fdicloak-open-browser.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

就是这样。你已成功将你的 Oxylabs 代理集成到 DICloak 浏览器中。你可以在原始的 DICloak 集成博客文章中找到 [**此处**](https://oxylabs.io/resources/integrations/dicloak).

如果你对我们的解决方案或上述流程有任何问题或疑虑，请通过我们 [主页](https://oxylabs.io/) 上的在线聊天联系我们，或发送电子邮件至 <hello@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/integrations/cn/proxy-integrations/dicloak.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.
