mihomo
约 2 分钟阅读
- MetaCubeX/mihomoGitHub 文件MetaCubeX/mihomo/tree/AlphaMetaCubeX/mihomo · GPLv3 · fork 自 clash · Clash.Meta -> mihomo · 参考 · MetaCubeX/metacubexd · 前端 · | flag | env | for | · | | CLASHCONFIGSTRING | base64-encoded 配置内容 |笔记:mihomo
- GPLv3
- fork 自 clash笔记clashDreamacro/clash · GPLv3, Golang · rule-based tunnel · 于 2023-11-02 删库, Clash.Meta 只是 Archive · https://github.com/net4people/bbs/issues/303打开:/notes/service/network/proxy/clash
- Clash.Meta -> mihomo
- 参考
brew install mihomo # macOS
# https://github.com/MetaCubeX/mihomo/releases
VERSION=1.19.16
# macOS
curl -L -o mihomo.gz https://github.com/MetaCubeX/mihomo/releases/download/v${VERSION}/mihomo-darwin-arm64-v${VERSION}.gz
# Linux
curl -L -o mihomo.gz https://github.com/MetaCubeX/mihomo/releases/download/v${VERSION}/mihomo-linux-amd64-compatible-v${VERSION}.gz
gzip -d mihomo.gz
chmod +x mihomo
./mihomo -v
./mihomo --help
# install
sudo mv mihomo /usr/local/bin/mihomo
curl -LO https://github.com/wenerme/wener/raw/master/notes/service/network/proxy/clash/mihomo.openrc.sh
sudo mv mihomo.openrc.sh /etc/init.d/mihomo
sudo chmod +x /etc/init.d/mihomo
# /etc/mihomo/config.yaml
mkdir -p /etc/mihomo| flag | env | for |
|---|---|---|
-config BASE64 | CLASH_CONFIG_STRING | base64-encoded 配置内容 |
-d DIR | CLASH_HOME_DIR | 配置目录 |
-ext-ctl ADDR | CLASH_OVERRIDE_EXTERNAL_CONTROLLER | 外部控制器地址 |
-ext-ctl-pipe ADDR | CLASH_OVERRIDE_EXTERNAL_CONTROLLER_PIPE | 外部控制器管道地址 |
-ext-ctl-unix ADDR | CLASH_OVERRIDE_EXTERNAL_CONTROLLER_UNIX | 外部控制器 Unix 地址 |
-ext-ui DIR | CLASH_OVERRIDE_EXTERNAL_UI_DIR | 外部 UI 目录 |
-f FILE | CLASH_CONFIG_FILE | 配置文件 |
-m | GeoData 模式 | |
-secret SECRET | CLASH_OVERRIDE_SECRET | RESTful API 密钥 |
-t | 测试配置并退出 |
- QUIC_GO_DISABLE_GSO
- QUIC_GO_DISABLE_ECN
- DISABLE_SYSTEM_HOSTS
- DISABLE_LOOPBACK_DETECTOR
- SKIP_SAFE_PATH_CHECK
- DISABLE_SYSTEM_CA
- DISABLE_EMBED_CA
- LISTEN_NAMEDPIPE_SDDL
- windows
配置
- MetaCubeX/mihomo/docs/config.yamlGitHub 文件MetaCubeX/mihomo/docs/config.yaml
- wiki.metacubex.one/config
- rules
Notes
- tun
- 大多数参数都只针对 linux
- metacubex/sing-tunGitHubmetacubex/sing-tun
- fork SagerNet/sing-tunGitHubSagerNet/sing-tun
- auto-redirect
- 支持 iptables, nftables
FAQ
- mrs - Mihomo Rule Set ?
- MAGCI
MRS\0x1- MSRv1 - 提供 domain & ipcidr 列表
- 体积更小
- zstd 压缩
- MAGCI
ASN
rules:
- IP-ASN,22697,Proxy,no-resolve # Roblox关联信息
反向链接、本文链接的其他页面和外部资料。
反向链接
- clash笔记 · Clash.Meta
Dreamacro/clash · GPLv3, Golang · rule-based tunnel · 于 2023-11-02 删库, Clash.Meta 只是 Archive · https://github.com/net4people/bbs/issues/303
- Proxy Awesome笔记 · MetaCubeX/mihomo
Note · 建议基于 overlay 组件内部 proxy,更安全,更好跨网。 · 对外暴露甚至选择 · | protocol | transport | UDP | Note | · | socks4 | tcp | ❌ | · | socks5 | tcp | ✅ |
站内链接
- clash笔记 · clash
Dreamacro/clash · GPLv3, Golang · rule-based tunnel · 于 2023-11-02 删库, Clash.Meta 只是 Archive · https://github.com/net4people/bbs/issues/303
参考资料
GitHub6 条
- MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdbgithub.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb
- MetaCubeX/metacubexdgithub.com/MetaCubeX/metacubexd
- MetaCubeX/mihomo/docs/config.yamlgithub.com/MetaCubeX/mihomo/blob/Alpha/docs/config.yaml
- MetaCubeX/mihomo/tree/Alphagithub.com/MetaCubeX/mihomo/tree/Alpha
- metacubex/sing-tungithub.com/metacubex/sing-tun
- SagerNet/sing-tungithub.com/SagerNet/sing-tun
其他外链1 条
- wiki.metacubex.one/configwiki.metacubex.one/config