# Clash For Android 设置全局代理教程

### 1. 什么是分流/规则模式？

Clash for Windows 默认使用 **分流/规则模式**。\
分流模式的含义是：

* 大陆常见网站或应用 → 使用本地网络直连
* 国外网站或应用 → 使用代理服务器网络

{% hint style="success" %}
分流模式可以减少延迟、节省代理流量，但在某些情况下可能会导致部分应用或网页无法代理。
{% endhint %}

***

### 2. 什么是全局模式？

**全局模式** 表示：

* 所有流量均通过代理服务器转发

优点：

* 可以保持 **更高的匿名性**
* 确保所有应用均能正常代理

缺点：

* 访问大陆网站或应用时，可能会 **变慢**
* 占用更多代理带宽

{% hint style="warning" %}
建议：仅在需要高匿名性或遇到分流模式下无法访问的问题时，开启全局模式。
{% endhint %}

***

### 3. 开启全局代理模式

1. 打开 Clash for Android 主界面
2. 点击左侧菜单中的 **「代理（Proxy）」**

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2F63Wvvg62x0IuBoOcLsIV%2F%7B48680C17-0AB7-40AE-B074-088F8A4B4516%7D.png?alt=media&#x26;token=c6e67216-fd1b-4dfa-ac3f-d57f360478f3" alt="" width="408"><figcaption></figcaption></figure>

3. 在模式切换栏中选择 **「全局（Global）」**

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FqgkfoZPR8ST4dMnIGR2g%2F%7B025876D6-3848-4DD3-894E-B5728B756065%7D.png?alt=media&#x26;token=c4eb1b24-0a29-480b-af7c-eb7a5d4155d4" alt="" width="416"><figcaption></figcaption></figure>

4. 从节点列表中选择你需要的代理节点

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FZ9tfRtliAiK3wivuE7wc%2F%7BF75488C2-0F18-4BE4-8E1C-3233CB4A0809%7D.png?alt=media&#x26;token=3159db26-a95f-4909-ae58-3daa4d4788e0" alt="" width="417"><figcaption></figcaption></figure>

5. 返回主页，确认连接成功后，即可实现全局代理

<figure><img src="https://4037264195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxSKAXKJRW2vsCyawwV9G%2Fuploads%2FRQlrbtRxu5ge5AOA3wfI%2F%7B2A8DECBC-3F34-41E7-AB8E-DF49D3017464%7D.png?alt=media&#x26;token=400737e6-9974-40a2-a9b6-7ede4d4d18bd" alt="" width="399"><figcaption></figcaption></figure>

***

### 4. 使用建议

* 建议日常使用 **分流/规则模式**，在需要时切换至 **全局模式**
* 如果全局模式下访问国内网站速度较慢，可以临时切回分流模式
* 切换模式后如遇异常，尝试重新连接或更新订阅

***

{% hint style="success" %}
现在，你已经成功学会如何在 **Clash for Android** 中设置全局代理模式。
{% endhint %}


---

# 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://doc.tabnet.us/android/clash-for-android-she-zhi-quan-ju-dai-li-jiao-cheng.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.
