Clash Meta (Mihomo) 进阶配置与内核优化

Clash Meta 简介

Clash Meta(现更名为 Mihomo)是 Clash 生态中最活跃的内核分支,在原版 Clash 的基础上增加了 VLESS、Reality、Hysteria 2 等新协议支持,并引入了更强大的规则引擎和 TUN 模式。

Meta 内核 vs 原版 Clash

特性 原版 Clash Clash Meta (Mihomo)
VLESS 协议 不支持 支持
Reality 传输 不支持 支持
Hysteria 2 不支持 支持
TUN 模式 有限支持 完整支持
规则引擎 基础 增强版
更新频率 已停止 活跃开发

进阶配置

配置文件结构

mixed-port: 7890
allow-lan: true
mode: rule
log-level: info
external-controller: 127.0.0.1:9090

proxies:
  - name: "vless-reality"
    type: vless
    server: your-server.com
    port: 443
    uuid: your-uuid
    flow: xtls-rprx-vision
    tls: true
    servername: www.google.com
    reality-opts:
      public-key: YOUR_PUBLIC_KEY
      short-id: "1234"

proxy-groups:
  - name: "Proxy"
    type: select
    proxies:
      - "vless-reality"
      - "DIRECT"

rules:
  - GEOIP,CN,DIRECT
  - MATCH,Proxy

TUN 模式配置

tun:
  enable: true
  stack: system
  dns-hijack:
    - 8.8.8.8:53
  auto-route: true
  auto-detect-interface: true

性能优化技巧

  • 启用 tcp-concurrent 提升并发连接数
  • 使用 unified-delay 统一延迟测试
  • 配置 profile.store-selected 保存节点选择

推荐资源

机场推荐:https://clashhub.net/85-2

客户端下载:https://clashhub.net/290

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注