# iOS如何使用Cliproxy

**配置 HTTP 或 SOCKS5 代理（Wi-Fi 网络）**

1. **连接到 Wi-Fi 网络**：
   * 打开设备的 **设置**。
   * 进入 **Wi-Fi** 设置，选择你想要配置代理的 Wi-Fi 网络。
2. **配置代理**：
   * 在连接的 Wi-Fi 网络旁边点击 **i**（信息按钮）。
   * 向下滚动到 **HTTP 代理** 部分，选择 **手动** 或 **自动**。
     * **手动**：手动输入代理的 IP 地址、端口及认证信息（如果需要）。
     * **自动**：使用 **自动代理配置** (PAC) 文件来自动配置代理。
3. **输入代理详情**：
   * 如果选择 **手动**，输入代理服务器的 **地址** 和 **端口**。
   * 对于 SOCKS5 代理，你可以在 **代理类型** 中选择 SOCKS5（部分 iOS 版本可能不直接支持 SOCKS5，需使用支持 SOCKS5 的应用）。
   * 输入代理的用户名和密码（如果需要身份验证）。
4. **保存设置**：
   * 设置完成后，返回，iOS 设备的所有流量（通过该 Wi-Fi 网络）将通过配置的代理进行路由。

**配置代理的注意事项：**

* 与 Android 相似，iOS 也仅允许你为 Wi-Fi 连接配置代理，不能直接为移动数据配置代理。
* 对于需要使用 SOCKS5 代理的应用，可能需要使用第三方应用（如 **Shadowrocket** 或 **Surge**）来进行更详细的代理配置。


---

# Agent Instructions: 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://help.cliproxy.com/zh/faq/cliproxy-faq4.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.
