# 首页

![](/files/PfZFH5eE4bcuMYneD8SQ)

### <mark style="color:blue;">开关：</mark>

**Merlin Clash开关：**&#x63D2;件总开关；

{% hint style="info" %} <mark style="color:blue;">打开/关闭 后，需要在首页最下方点击</mark> <mark style="color:orange;">**保存&启动**</mark> <mark style="color:blue;">才可以应用生效。</mark>
{% endhint %}

<mark style="color:blue;">（注：如无特殊说明，插件所有的功能都必须重新启动才能生效）</mark>

**程序内核版本：**&#x5C55;示Merlin Clash内置的内核程序版本。

### <mark style="color:blue;">状态检查：</mark>

**插件运行状态：**&#x5C55;示插件的启动时间和实际运行状态；

{% hint style="info" %} <mark style="color:blue;">看门狗默认不启动，需要在附加功能里打开</mark>
{% endhint %}

**连通性检查：**&#x901A;过接入[**Sukka API**](https://ip.skk.moe/)，展示您浏览器的当前连通性状态。&#x20;

{% hint style="info" %}

* <mark style="color:blue;">本功能仅作参考，不代表您路由的实际访问状态；</mark>
* <mark style="color:blue;">国内外ip展示，受您当前规则/代理组设定的限制，未必能正确显示；</mark>
* <mark style="color:blue;">此处信息更新可能不及时，强制刷新请按Ctrl+F5。</mark>
  {% endhint %}

##

![](/files/SGkfYsWoHSdyyyLYy17L)

### <mark style="color:blue;">配置文件：</mark>

**配置文件选择：**&#x5207;换Clash专有的yaml配置，首次使用请先 [**订阅**](/mc/mcold/base/subscribe.md) 。

### <mark style="color:blue;">运行模式：</mark>

**运行模式：**&#x5207;换Clash的规则模式。

{% hint style="info" %} <mark style="color:blue;">本功能无需重启插件，选择后立即生效</mark>
{% endhint %}

* 使用配置文件设定：使用您的配置文件的默认模式，不另行推送；
* 规则模式：强制推送使用rule模式（一般配置文件的默认模式）；
* 全局模式：强制推送使用global模式（默认global为直连，切换全局代理请参看[**FAQ12**](/mc/mcold/faq/faq1.md#q12)）；
* 直连模式：强制推送使用direct模式；
* 脚本模式：强制推送使用script模式（需要配置文件支持，写法请参看[**Clash Wiki**](https://lancellc.gitbook.io/clash/clash-config-file/script)）。

![](/files/5fdcpMx3y6iy7QcqwwBb)

### <mark style="color:blue;">DNS方案：</mark>

**DNSmasq：**<mark style="color:orange;">（MC22.02.28-MC22.03.21版本支持）</mark>设置是否使用路由默认的DNSmasq解析服务；

* 前置：默认，将DNSmasq接入到ClashDNS前，原路由DNSmasq功能可用；
* 绕过：MC20220101之前版本方案，直接劫持给ClashDNS解析，绕开DNSmasq，<mark style="color:orange;">无法使用IPtables转发黑/白名单,KoolProxy的黒名单模式,KoolProxy过滤名单/绕行名单</mark>。

**DNS方案：**&#x5207;换Clash DNS服务的解析方式，详看 [**Clash Wiki**](https://github.com/Dreamacro/clash/wiki/configuration#dns) **和** [**DNS污染对Clash的影响**](https://github.com/Fndroid/clash_for_windows_pkg/wiki/DNS%E6%B1%A1%E6%9F%93%E5%AF%B9Clash%EF%BC%88for-Windows%EF%BC%89%E7%9A%84%E5%BD%B1%E5%93%8D) ；

* Redir-Host：推荐使用，兼容性良好，不正确的设置DNS可能被污染；
* Fake-ip：拒绝DNS污染。部分游戏/语音/P2P请求可能无法连接。

**DNS劫持入口：**&#x5728;使用透明代理时，iptables劫持dns端口的顺序。

* 前置：劫持局域网内所有DNS请求，防止因设备自定义DNS服务器而造成DNS污染；
* 后置：20210908版以前的方案，若DNS解析出错可尝试使用，<mark style="color:orange;">设备的DNS服务器</mark>必须为路由IP。

**DNS2SOCKS启用：**&#x542F;用DNS2socks，详看 [**使用DNS2Socks**](/mc/mcold/advanced/d2s.md) 。

![](/files/RMsdpbiW4PdiTVLXyGof)

### <mark style="color:blue;">Clash管理面板：</mark>

**面板信息：**&#x4D;C使用web管理控制节点切换，这里用于展示登录信息；

* 默认登录信息为  IP（路由IP地址）：`192.168.50.1`    端口：`9990`    密码：`clash`
* 端口和密码可&#x5728;**【**<mark style="color:blue;">高级模式</mark>**】** 中修改，详见 [自定义端口](/mc/mcold/advanced/port.md) 和 [管理面板设定](/mc/mcold/advanced/remote.md#setp-1-kai-qi-gong-wang-zhuan-fa)

**访问Clash面板：**&#x4E24;种不同风格的web面板的快捷方式

* RAZORD-Clash面板：风格简洁，需要手动登录（[**项目地址**](https://github.com/Dreamacro/clash-dashboard)）；
* YACD-Clash面板：界面好看、功能强大，推荐使用。无需手动输入信息登录（[**项目地址**](https://github.com/haishanh/yacd)）。

{% hint style="info" %} <mark style="color:blue;">**注：AX56U v2因为JFFS空间限制，按钮为在线版web控制器**</mark>

* 地址分别为 [**RAZORD**](http://clash.razord.top/) 和  [**YACD** ](http://yacd.haishan.me/);
* 使用时候注意，浏览器地址栏的协议必须为<mark style="color:blue;">http\://</mark>，<https://无法登录；>
* 新版Chrome调整了安全策略，请在浏览器地址栏输入 `chrome://flags/#block-insecure-private-network-requests` 关闭（disable）阻止不安全的专用网络请求功能，否则可能无法正常登录。
  {% endhint %}

### <mark style="color:blue;">排障与重启：</mark>

**重建下拉列表：**&#x5207;换配置文件、自定义规则等下拉列表内容丢失，可按此解决；

**重建IPTABLES**：重写iptbales，Clash内核运行正常，透明代理出错，可按此解决；

**快速重启：**&#x4F7F;用上次设置快速重启，有设置改动，请使用<mark style="color:orange;">**保存&启动**</mark>按钮，正常重启；

**定时重启：**&#x53EF;根据需求设置间隔/每天/每周/每月，定时重启。


---

# 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:

```
GET https://mcreadme.gitbook.io/mc/mcold/base/home.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.
