Releases: MetaCubeX/mihomo
Releases · MetaCubeX/mihomo
v1.10.0
代理模块:
支持出站传输协议 VLESS XTLS / Trojan XTLS
主动健康检测urltest/fallback(基于tcp握手,限定时间内多次失败会主动触发健康检测使用节点)
采用 Regex2 依赖,支持策略组正则筛选
允许provider请求过clash
规则模块:
支持PASS ( 跳过 )规则
支持规则 GEOSITE
支持规则集 RULE-SET
支持规则 SRC-PORT 和 DST-PORT 的多端口条件
支持规则对TCP / UDP分别管控
支持 Network 规则, 支持匹配网络类型 ( TCP / UDP )
支持多条件规则 ( NOT / OR / AND )
支持所有规则的源 IPCIDR 条件,只需附加到末尾即可
支持GEODATA MODE切换,mmdb / dat
支持切换GEODATA LOADER模式切换 , 普通 / 小内存模式
支持GeoSite延迟加载 (无Geosite规则,getsite.dat不下载)
GEOIP / GEOSITE 数据库基于 Loyalsoldier/v2ray-rules-dat
DNS模块:
支持 TLS Sniffing
支持 Fallback-Filter 使用 Geosite
恢复 Redir-Host 远程解析
支持使用代理解析 ip
支持DNS over QUIC
TUN模块:
支持 macOS、Linux 和 Windows
内置iptables,无需手动配置
内置 Wintun 驱动
支持 gVisor / System 堆栈
v1.9.0
What's Features
DNS configuration
- Support
geosite
withfallback-filter
. - Restore
Redir remote resolution
. - Support resolve ip with a
Proxy Tunnel
.
proxy-groups:
- name: DNS
type: url-test
use:
- HK
url: http://cp.cloudflare.com
interval: 180
lazy: true
dns:
enable: true
use-hosts: true
ipv6: false
enhanced-mode: redir-host
fake-ip-range: 198.18.0.1/16
listen: 127.0.0.1:6868
default-nameserver:
- 119.29.29.29
- 114.114.114.114
nameserver:
- https://doh.pub/dns-query
- tls://223.5.5.5:853
fallback:
- 'https://1.0.0.1/dns-query#DNS' # append the proxy adapter name or group name to the end of DNS URL with '#' prefix.
- 'tls://8.8.4.4:853#DNS'
fallback-filter:
geoip: false
geosite:
- gfw # `geosite` filter only use fallback server to resolve ip, prevent DNS leaks to unsafe DNS providers.
domain:
- +.example.com
ipcidr:
- 0.0.0.0/32
TUN configuration
- Supports macOS, Linux and Windows.
- Built-in Wintun driver.
# Enable the TUN listener
tun:
enable: true
stack: gvisor # only gvisor
dns-hijack:
- 0.0.0.0:53 # additional dns server listen on TUN
auto-route: true # auto set global route
Rules configuration
- Support rule
GEOSITE
. - Support rule-providers
RULE-SET
. - Support
multiport
condition for ruleSRC-PORT
andDST-PORT
. - Support
network
condition for all rules. - Support source IPCIDR condition for all rules, just append to the end.
- The
GEOSITE
databases via https://github.com/Loyalsoldier/v2ray-rules-dat.
rules:
# network(tcp/udp) condition for all rules
- DOMAIN-SUFFIX,bilibili.com,DIRECT,tcp
- DOMAIN-SUFFIX,bilibili.com,REJECT,udp
# multiport condition for rules SRC-PORT and DST-PORT
- DST-PORT,123/136/137-139,DIRECT,udp
# rule GEOSITE
- GEOSITE,category-ads-all,REJECT
- GEOSITE,icloud@cn,DIRECT
- GEOSITE,apple@cn,DIRECT
- GEOSITE,apple-cn,DIRECT
- GEOSITE,microsoft@cn,DIRECT
- GEOSITE,facebook,PROXY
- GEOSITE,youtube,PROXY
- GEOSITE,geolocation-cn,DIRECT
- GEOSITE,geolocation-!cn,PROXY
# source IPCIDR condition for all rules in gateway proxy
#- GEOSITE,geolocation-!cn,REJECT,192.168.1.88/32,192.168.1.99/32
- GEOIP,telegram,PROXY,no-resolve
- GEOIP,private,DIRECT,no-resolve
- GEOIP,cn,DIRECT
- MATCH,PROXY
Proxies configuration
- Active health detection
urltest / fallback
(based on tcp handshake, multiple failures within a limited time will actively trigger health detection to use the node) - Support
Policy Group Filter
proxy-groups:
- name: 🚀 HK Group
type: select
use:
- ALL
filter: 'HK'
- name: 🚀 US Group
type: select
use:
- ALL
filter: 'US'
proxy-providers:
ALL:
type: http
url: "xxxxx"
interval: 3600
path: "xxxxx"
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
- Support outbound transport protocol
VLESS
.
The XTLS support TCP / UDP by the XRAY-CORE.
proxies:
- name: "vless-tcp"
type: vless
server: server
port: 443
uuid: uuid
network: tcp
servername: example.com # AKA SNI
# flow: xtls-rprx-direct # xtls-rprx-origin # enable XTLS
# skip-cert-verify: true
- name: "vless-ws"
type: vless
server: server
port: 443
uuid: uuid
udp: true
network: ws
servername: example.com # priority over wss host
# skip-cert-verify: true
ws-path: /path
ws-headers:
Host: example.com
What's Changed
New Contributors
Full Changelog: v1.8.0...v1.9.0