> 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/switchyomega.md).

# SwitchyOmega

将 SwitchyOmega 代理管理器与 Oxylabs 代理集成。Firefox 浏览器分步设置指南。

SwitchyOmega 是一款功能强大且可靠的代理管理器，可与许多流行浏览器配合使用。

{% hint style="warning" %}
**免责声明：** 自 Manifest V3 发布以来，Switchy Omega 已不再受 Google Chrome 和基于 Chromium 的浏览器支持。以下指南仅涵盖 Mozilla Firefox 可用的浏览器扩展。查看 [ZeroOmega 集成](/integrations/cn/proxy-integrations/zeroomega.md) 以了解最新的工具集成。
{% endhint %}

按照以下步骤集成下面的 Oxylabs 代理：

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

### **步骤 1**

获取插件并安装。对于 Firefox 附加组件，请点击 [**此处**](https://addons.mozilla.org/en-US/firefox/addon/switchyomega/).

### **步骤 2**

打开 SwitchyOmega **选项**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-96c1928b5f032a6771d1b48c783d100d7f1603cf%2Fso1.jpg?alt=media" alt="Options"><figcaption></figcaption></figure>

### **步骤 3**

点击 **+新建配置文件。**

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

### **步骤 4**

为这个新配置文件命名，选择 **代理配置文件** 类型，并点击 **创建**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-612eb4716cfb14fe80ecd218a3a3645074e07e36%2Fso3.jpg?alt=media" alt="Proxy profile"><figcaption></figcaption></figure>

### **步骤 5**

选择代理 **协议** 并填写所选代理类型的详细信息：

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

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

**协议：** `HTTP`, `HTTPS`，或 `SOCKS5`

**服务器：** `pr.oxylabs.io`

**端口：**`7777`

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-83b4423371b148f25996af33fafaa9b73beea890%2Fso4.jpg?alt=media" alt="Proxy server details"><figcaption></figcaption></figure>

你还可以使用 **附加参数** 搭配住宅代理和移动代理来设置地理位置（国家/地区、州、省、市等）并控制会话。查看 [住宅代理文档](/products/cn/proxies/residential-proxies.md) 以了解更多。

#### 数据中心代理

**协议：** `HTTP`, `HTTPS`，或 `SOCKS5`

**服务器：** `dc.oxylabs.io`

**端口：** `8001`

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-9e4e2cd87c0cff902902f995de56b4e900460635%2Fdc-switchyomega-1.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` 或 `SOCKS5`

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

**端口：** `60000` (HTTP), `1180` (SOCKS5)

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

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

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

**协议：** `HTTP`, `HTTPS`，或 `SOCKS5`

**服务器：** `ddc.oxylabs.io`

**端口：** `8001`

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

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

#### ISP代理

**协议：** `HTTP`, `HTTPS`，或 `SOCKS5`

**服务器：** `isp.oxylabs.io`

**端口：** `8001`

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

ISP 代理会将每个端口分配给特定的 IP 地址和位置。端口 `8001` 始终使用你的 [代理列表](/products/cn/proxies/isp-proxies/proxy-list.md)中的第一个 IP。使用端口 `8000` 以启用 [代理轮换](/products/cn/proxies/isp-proxies/proxy-rotation.md).

若要从特定国家的代理池获取轮换 IP，请按以下格式设置用户名： `user-USERNAME-country-XX`，其中 `XX` 是国家代码（例如 `US` 表示美国）。

#### 独享ISP代理

**协议：** `HTTP`, `HTTPS`，或 `SOCKS5`

**服务器：** `disp.oxylabs.io`

**端口：** `8001`

您需要选择分配给所购买的 IP 地址的端口 [代理列表](/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md)，你可以在 Oxylabs 控制面板中找到。 `8001` 端口将为所有请求选取列表中的第一个 IP 地址。使用端口 `8000` 可自动进行 [代理 IP 轮换](/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-rotation.md).

### **步骤 6**

{% hint style="info" %}
如果你已将 IP 加入白名单，可以跳过这一步。
{% endhint %}

点击 **锁定** 右侧图标。填写 **代理身份验证**:

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-cc03ced6261c06df71f63723e9a4ed86df2ed020%2Fso5.jpg?alt=media" alt="Proxy server details"><figcaption></figcaption></figure>

| 代理类型           | 示例                                                                                                           |
| -------------- | ------------------------------------------------------------------------------------------------------------ |
| 住宅代理和移动代理      | <p><strong>用户名：</strong> <code>customer-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p> |
| 数据中心代理         | <p><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p>     |
| 独享数据中心代理（企业版）  | <p><strong>用户名：</strong> <code>USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p>          |
| 独享数据中心代理（自助服务） | <p><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p>     |
| ISP代理          | <p><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p>     |
| 独享ISP代理        | <p><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p>     |

{% hint style="warning" %}
请务必添加 `customer-` 或 `user-` 如果您的代理类型需要，请为您的用户名添加前缀。
{% endhint %}

点击 **保存更改。**

### **步骤 7**

点击 **应用更改。**

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-62472a62858dbbab09f0487418a6160ffea4156f%2Fso6.jpg?alt=media" alt="Apply changes"><figcaption></figcaption></figure>

### **第 8 步**

最后一步，点击 SwitchyOmega 图标并选择你刚配置的代理。现在就可以开始使用了！

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

现在就可以开始使用了！

查找原始的 SwitchyOmega 集成博客文章 [此处](https://oxylabs.io/resources/integrations/proxy-switchyomega).


---

# 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/switchyomega.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.
