#更新时间 #2026年1月1日 上午11.38 proxy-providers: Mihomo-chain-relay: url: "填入分享管理内的中转节点链接" type: http interval: 86400 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 proxy: DIRECT Mihomo-chain-exit: url: "填入分享管理内的落地节点链接" type: http interval: 86400 health-check: enable: true url: https://www.gstatic.com/generate_204 interval: 300 proxy: DIRECT port: 7890 socks-port: 7891 redir-port: 7892 mixed-port: 7893 tproxy-port: 7894 allow-lan: true bind-address: "*" ipv6: true unified-delay: true tcp-concurrent: true log-level: warning find-process-mode: 'strict' global-client-fingerprint: chrome keep-alive-idle: 600 keep-alive-interval: 15 profile: store-selected: true store-fake-ip: true # nikki /etc/nikki/run/ui external-controller: 0.0.0.0:9090 secret: "" #external-ui: "/etc/mihomo/ui" #external-ui-name: zashboard #external-ui-url: "https://github.com/Zephyruso/zashboard/archive/refs/heads/gh-pages.zip" sniffer: enable: true sniff: HTTP: ports: [80, 8080-8880] override-destination: true TLS: ports: [443, 8443] QUIC: ports: [443, 8443] skip-domain: - "Mijia Cloud" - "+.push.apple.com" - "+.wechatapp.com" - "+.wechat.com" - "+.qq.com" tun: enable: true # system/gvisor/mixed stack: mixed dns-hijack: ["any:53", "tcp://any:53"] device: mihomo auto-route: true strict-route: true auto-redirect: true auto-detect-interface: true dns: enable: true listen: 0.0.0.0:1053 ipv6: true respect-rules: true enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter-mode: blacklist fake-ip-filter: - "+.lan" - "+.local" - "rule-set:private_domain,cn_domain" - "+.msftconnecttest.com" - "+.msftncsi.com" - "time.*.com" - "+.market.xiaomi.com" default-nameserver: - 223.5.5.5 - 119.29.29.29 direct-nameserver: - 223.5.5.5 - 119.29.29.29 proxy-server-nameserver: - 223.5.5.5 - 119.29.29.29 nameserver: - 223.5.5.5 - 119.29.29.29 std: &std {type: select, proxies: [Proxy, Hong Kong, Japan, Singapore, United States, Select, DIRECT]} dir: &dir {type: select, proxies: [DIRECT, Proxy, Hong Kong, Japan, Singapore, United States, Select]} proxy-groups: - {name: Proxy, type: select, proxies: [Select, Exit, Hong Kong, Japan, Singapore, United States, DIRECT],icon: "https://ghproxy.inklazy.com/raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/icon/qure/color/Proxy.png"} - {name: Select, type: select, include-all: true,icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Global.png?raw=true"} - {name: YouTube, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/YouTube.png?raw=true", <<: *std} - {name: Google, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Google.png?raw=true", <<: *std} - {name: Google FCM, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/FCM_Firebase_Cloud_Messaging.png?raw=true", <<: *dir} - {name: ChatGPT, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/ChatGPT.png?raw=true", <<: *std} - {name: Steam, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Steam.png?raw=true", <<: *std} - {name: Epic, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/EPIC.png?raw=true", <<: *dir} - {name: Speedtest, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/SpeedTest.png?raw=true", <<: *std} - {name: GitHub, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/GitHub.png?raw=true", <<: *std} - {name: OneDrive, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/OneDrive.png?raw=true", <<: *dir} - {name: Microsoft, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Microsoft.png?raw=true", <<: *dir} - {name: Apple, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Apple_black.png?raw=true", <<: *std} - {name: TikTok, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/TikTok.png?raw=true", <<: *std} - {name: Telegram, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Telegram.png?raw=true", <<: *std} - {name: Netflix, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Netflix_b.png?raw=true", <<: *std} - {name: PayPal, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/PayPal_business.png?raw=true", <<: *std} - {name: Match, icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Omission.png?raw=true", <<: *std} - {name: Relay, type: select, use: [Mihomo-chain-relay], icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Zune.png?raw=true"} - {name: Exit, type: select, use: [Mihomo-chain-exit], icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Hong_Kong.png?raw=true"} - {name: Hong Kong, type: select, include-all: true, filter: "(?i)港|hk|hongkong|hong kong",icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Hong_Kong.png?raw=true"} - {name: Japan, type: select, include-all: true, filter: "(?i)日|jp|japan",icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Japan.png?raw=true"} - {name: Singapore, type: select, include-all: true, filter: "(?i)新加坡|坡|狮城|SG|Singapore",icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/Singapore.png?raw=true"} - {name: United States, type: select, include-all: true, filter: "(?i)美|us|unitedstates|united states",icon: "https://ghproxy.inklazy.com/github.com/Vbaethon/HOMOMIX/blob/main/Icon/Color/Large/USA.png?raw=true"} rules: - RULE-SET,private_ip,DIRECT,no-resolve - RULE-SET,private_domain,DIRECT - RULE-SET,Inklazy_domain,DIRECT - RULE-SET,Inklazy_ip,DIRECT,no-resolve - RULE-SET,ai,ChatGPT - RULE-SET,steam_cn,DIRECT - RULE-SET,steam,Steam - RULE-SET,speedtest_domain,Speedtest - RULE-SET,github_domain,GitHub - RULE-SET,google_fcm,Google FCM - RULE-SET,youtube_domain,YouTube - RULE-SET,google_domain,Google - RULE-SET,google_ip,Google,no-resolve - RULE-SET,onedrive_domain,OneDrive - RULE-SET,microsoft_domain,Microsoft - RULE-SET,apple_cn_domain,DIRECT - RULE-SET,apple_domain,Apple - RULE-SET,apple_ip,Apple,no-resolve - RULE-SET,tiktok_domain,TikTok - RULE-SET,telegram_domain,Telegram - RULE-SET,telegram_ip,Telegram,no-resolve - RULE-SET,netflix_domain,Netflix - RULE-SET,netflix_ip,Netflix,no-resolve - RULE-SET,paypal_domain,PayPal - RULE-SET,epic,Epic - RULE-SET,geolocation-!cn,Match - RULE-SET,cn_domain,DIRECT - RULE-SET,cn_ip,DIRECT - MATCH,Match rule-anchor: ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: mrs} domain: &domain {type: http, interval: 86400, behavior: domain, format: mrs} class: &class {type: http, interval: 86400, behavior: classical, format: text} rule-providers: Inklazy_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/github.com/ZekTy/mihomo-chain/raw/refs/heads/main/mrs/domain/Inklazy-domain.mrs"} private_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.mrs"} ai: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/category-ai-!cn.mrs" } epic: { <<: *domain, url: "https://ghproxy.inklazy.com/github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/epicgames.mrs" } steam_cn: { <<: *domain, url: "https://ghproxy.inklazy.com/github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/steam@cn.mrs"} steam: { <<: *domain, url: "https://ghproxy.inklazy.com/github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/steam.mrs"} google_fcm: { <<: *domain, url: "https://ghproxy.inklazy.com/github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/googlefcm.mrs"} youtube_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.mrs"} google_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs"} github_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/github.mrs"} telegram_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.mrs"} netflix_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/netflix.mrs"} paypal_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/paypal.mrs"} onedrive_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/onedrive.mrs"} microsoft_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/microsoft.mrs"} apple_cn_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/apple@cn.mrs"} apple_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/apple.mrs"} speedtest_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/ookla-speedtest.mrs"} tiktok_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/tiktok.mrs"} geolocation-!cn: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.mrs"} cn_domain: { <<: *domain, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.mrs"} Inklazy_ip: {<<: *ip, url: "https://ghproxy.inklazy.com/github.com/ZekTy/mihomo-chain/raw/refs/heads/main/mrs/ipcidr/Inklazy-ip.mrs"} private_ip: {<<: *ip, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/private.mrs"} cn_ip: { <<: *ip, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.mrs"} google_ip: { <<: *ip, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.mrs"} telegram_ip: { <<: *ip, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.mrs"} netflix_ip: { <<: *ip, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/netflix.mrs"} apple_ip: {<<: *ip, url: "https://ghproxy.inklazy.com/raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo-lite/geoip/apple.mrs"}