> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 操作系统

> 住宅代理操作系统规范

<Warning>
  在启用了“住宅套餐”的情况下，可启用操作系统规格功能。如需申请使用此功能，请通过 [support@decodo.com](mailto:support@decodo.com) 联系我们。请注意，您可能需要填写一份KYC表格。
</Warning>

若要为住宅代理指定操作系统，您需要在代理的**用户名**中包含 `os` 变量。操作系统名称应紧跟在该变量之后，例如：`os-windows`。

## 支持的操作系统

住宅代理可用于以下操作系统：

* `macos`
* `windows`
* `linux`
* `ios`
* `android`

## <br />**示例**

### **用户名:密码**

在用户名后添加 `os-xxxx` 可实现操作系统定向。

以下是一个返回 macOS 设备 IP 地址的 **轮换代理** 示例：

```shellscript cURL theme={null}
curl -U "user-username-os-macos:password" -x "gate.decodo.com:10000" "https://ip.decodo.com/json"
```

来自安卓设备的**轮换**IP地址：

```shellscript cURL theme={null}
curl -U "user-username-os-android:password" -x "gate.decodo.com:10000" "https://ip.decodo.com/json"
```

### **白名单IP**

在代理中添加 `os-xxxx` 可实现操作系统定向。

以下是一个返回 Windows 设备 IP 地址的 **轮换代理** 示例：

```shellscript cURL theme={null}
curl -x "https://os-windows.gate.decodo.com:10000" "https://ip.decodo.com/json"
```

<Note>
  ### 注意

  使用 `os` 变量时，IP 地址池可能会更小。
</Note>

***

<Columns cols={2}>
  <Card title="支持" href="https://direct.lc.chat/12092754" cta="让我们聊聊！">
    需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
    您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。
  </Card>

  <Card title="反馈" href="mailto:feedback@decodo.com" cta="分享反馈">
    找不到您要找的内容？请求一篇文章！ \
    有反馈意见？分享您对我们如何改进的想法。
  </Card>
</Columns>
