> 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 集成](https://developers.oxylabs.io/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>

你还可以使用 **附加参数** 与住宅和移动代理一起使用，以设置地理位置（国家、州、城市等）并控制会话。请查看 [住宅代理文档](https://developers.oxylabs.io/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 计费订阅" %}
端口是分配给列表中 IP 地址的顺序编号 [代理列表](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/proxy-list.md)的 IP 地址的顺序编号。因此，端口 `8001` 会使用你列表中的第一个 IP 地址。你还可以通过将端口设置为 [代理 IP 轮换](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/ip-control.md) 来启用 `8000`.

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

{% tab title="按流量计费订阅" %}
端口 `8001` 会随机选取一个 IP 地址，但在会话期间保持一致。或者，你可以 [轮换代理 IP](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/ip-control.md) ，通过使用端口 `8000`.

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

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

**协议：** `HTTP` 或 `SOCKS5`

**服务器：** `1.2.3.4` （来自你的 [代理列表](https://developers.oxylabs.io/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>

对于通过销售购买的企业独享数据中心代理，你需要从已购的 [代理列表](https://developers.oxylabs.io/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 地址的顺序编号 [代理列表](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/proxy-list.md)。如果你想让每个请求都获取不同的 IP，请更改 **端口** 设置为 `8000` 以启用 [代理轮换](https://developers.oxylabs.io/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` 始终使用你的列表中的第一个 IP。 [代理列表](https://developers.oxylabs.io/products/cn/proxies/isp-proxies/proxy-list.md)。使用端口 `8000` 以启用 [代理轮换](https://developers.oxylabs.io/products/cn/proxies/isp-proxies/proxy-rotation.md).

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

#### 独享ISP代理

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

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

**端口：** `8001`

你需要选择分配给已购买的 IP 地址的端口， [代理列表](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md)，你可以在 Oxylabs 控制面板中找到。 `8001` 端口会为所有请求从你的列表中选取第一个 IP 地址。使用端口 `8000` 用于自动 [代理 IP 轮换](https://developers.oxylabs.io/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/integrations/cn/proxy-integrations/switchyomega.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
