> 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/datacenter-proxies-guides/foxyproxy.md).

# FoxyProxy

[FoxyProxy](https://getfoxyproxy.org/) 是一款第三方扩展，可直接为 Chrome、Firefox 以及其他基于 Chromium 的浏览器配置代理。请按照以下指南使用 Oxylabs 配置 FoxyProxy [**数据中心代理**](https://oxylabs.io/products/datacenter-proxies).

## 在 Google Chrome 上设置 FoxyProxy <a href="#set-up-foxyproxy-on-google-chrome" id="set-up-foxyproxy-on-google-chrome"></a>

{% stepper %}
{% step %}

### 安装 FoxyProxy

下载并安装 [标准](https://chromewebstore.google.com/detail/foxyproxy/gcknhkkoolaabfmlnjonogaaifnjlfnp) 或 [基础](https://chromewebstore.google.com/detail/foxyproxy-basic/dookpfaalaaappcdneeahomimbllocnb) Chrome 扩展。接下来的步骤中我们将使用标准扩展。
{% endstep %}

{% step %}

### 打开选项

安装扩展后，点击扩展菜单中的其图标并选择 **选项**.

<figure><img src="/files/03d69aec333d781bf7448b3ba4a027ad6cd71c67" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 添加数据中心代理

在 **代理** 选项卡中，点击左侧的 **添加** 按钮以打开代理设置。然后，填写你的数据中心代理配置：

**类型**: `HTTP`, `HTTPS`，或 `SOCKS5`

**主机名**: `dc.oxylabs.io`

**端口**: `8001`

**用户名：** `user-USERNAME`

**密码：** `PASSWORD`

<figure><img src="/files/1c51094ff85fb8338d5e9eba46b9055d89437688" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
请确保添加 `user-` 这一部分。
{% endhint %}

**按 IP 计费订阅**

端口是从代理列表中分配给 IP 地址的连续编号。因此，端口 `8001` 使用列表中的第一个 IP 地址。你也可以通过将端口设置为来启用代理 IP 轮换 `8000`。更多详情，请参阅我们的 [文档](broken://pages/3381b46ad78d4ba714c5daa3f264dc6771e88786).

**按流量计费订阅**

端口 `8001` 会随机选择一个 IP 地址，但在会话期间保持一致。或者，你也可以通过使用端口来在每个请求中轮换代理 IP `8000`.

你也可以通过设置来指定地理位置，例如美国， **代理账户** 到 `user-USERNAME-country-US`。另请参阅我们的 [文档](broken://pages/cf3f86a6dbe085f7fa6567b8f66e6415e3c5170a) 。

然后，点击 **保存** 以保存你的代理设置。
{% endstep %}

{% step %}

### 激活代理

要激活代理服务器，请点击 **FoxyProxy 扩展图标** 然后再次点击你的 **代理配置文件** ，在下拉菜单中选择。

<figure><img src="/files/2a579143220bdab7d11db510e50cc512e8009289" alt=""><figcaption></figcaption></figure>

就是这样！要测试一切是否正常工作，你可以访问以下页面查看你的 IP 是否已更改： [ip.oxylabs.io](https://ip.oxylabs.io/).
{% endstep %}
{% endstepper %}

## 在 Mozilla Firefox 上设置 FoxyProxy <a href="#set-up-foxyproxy-on-mozilla-firefox" id="set-up-foxyproxy-on-mozilla-firefox"></a>

在 Firefox 上设置 FoxyProxy 的过程与 Chrome 相同。

{% stepper %}
{% step %}

### 安装 FoxyProxy

下载并安装 [标准](https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/) 或 [基础](https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-basic/) Firefox 扩展。接下来的步骤中我们将使用标准扩展。
{% endstep %}

{% step %}

### 打开选项

安装扩展后，点击扩展菜单中的其图标并选择 **选项**.

<figure><img src="/files/868041067121d7c7442524b489705fd4cd69bbb4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 添加数据中心代理

在 **代理** 选项卡中，点击左侧的 **添加** 按钮以打开代理设置。然后，填写你的数据中心代理配置：

**类型**: `HTTP`, `HTTPS`，或 `SOCKS5`

**主机名**: `dc.oxylabs.io`&#x20;

**端口**: `8001`

**用户名：** `user-USERNAME`

**密码：** `PASSWORD`

<figure><img src="/files/fe7358d1c48bf574e9ba265cdaf5f696b407a1d6" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
请确保添加 `user-` 这一部分。
{% endhint %}

**按 IP 计费订阅**

端口是从代理列表中分配给 IP 地址的连续编号。因此，端口 `8001` 使用列表中的第一个 IP 地址。你也可以通过将端口设置为来启用代理 IP 轮换 `8000`。更多详情，请参阅我们的 [文档](broken://pages/3381b46ad78d4ba714c5daa3f264dc6771e88786).

**按流量计费订阅**

端口 `8001` 会随机选择一个 IP 地址，但在会话期间保持一致。或者，你也可以通过使用端口来在每个请求中轮换代理 IP `8000`.

你也可以通过设置来指定地理位置，例如美国， **代理账户** 到 `user-USERNAME-country-US`。另请参阅我们的 [文档](broken://pages/cf3f86a6dbe085f7fa6567b8f66e6415e3c5170a) 。

然后，点击 **保存** 以保存你的代理设置。
{% endstep %}

{% step %}

### 激活代理

要激活代理服务器，请点击 **FoxyProxy 扩展图标** 然后再次点击你的 **代理配置文件** ，在下拉菜单中选择。

<figure><img src="/files/7377f5ed83cfb728059e72d1e84555de069a3cc0" alt=""><figcaption></figcaption></figure>

如果你想确认你的互联网流量现在是否通过代理路由，请查看你的 IP 是否已在以下位置更改 [ip.oxylabs.io](http://ip.oxylabs.io/).
{% endstep %}
{% endstepper %}

本指南也适用于 [住宅代理](/integrations/cn/proxy-integrations/residential-proxies-guides/foxyproxy.md), [ISP代理](/integrations/cn/proxy-integrations/isp-proxies-guides/foxyproxy.md), [独享ISP代理](/integrations/cn/proxy-integrations/dedicated-isp-proxies-guides/foxyproxy.md), [企业独享数据中心代理](/integrations/cn/proxy-integrations/dedicated-datacenter-proxies-guides/enterprise/foxyproxy.md)，以及 [自助独享数据中心代理](/integrations/cn/proxy-integrations/dedicated-datacenter-proxies-guides/self-service/foxyproxy.md).


---

# 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/integrations/cn/proxy-integrations/datacenter-proxies-guides/foxyproxy.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.
