Files
tizi/yml/base_ruler.yaml
T
2026-08-12 09:50:13 +08:00

88 lines
2.1 KiB
YAML

mixed-port: 7897
allow-lan: false
bind-address: '*'
mode: rule
log-level: info
# ══ 外部控制(Web 面板)══════════════════════════════════════
external-controller: 0.0.0.0:7898
secret: ""
external-ui: ./ui
external-ui-name: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
external-controller-cors:
allow-private-network: true
allow-origins:
- '*'
# ══ GeoData 数据库地址 ════════════════════════════════════════
geodata-mode: true
unified-delay: true
tcp-concurrent: true
ipv6: false
dns:
enable: true
ipv6: false
follow-rule: false
respect-rules: true
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
use-hosts: true
default-nameserver:
- 223.5.5.5
- 119.29.29.29
proxy-server-nameserver:
- https://dns.alidns.com/dns-query
- https://doh.pub/dns-query
nameserver:
- https://dns.alidns.com/dns-query
- https://doh.pub/dns-query
fallback:
- https://cloudflare-dns.com/dns-query
- https://dns.cloudflare.com/dns-query
- https://dns.alidns.com/dns-query
- https://doh.pub/dns-query
tun:
enable: true
stack: gvisor
device: Mihomo
auto-route: true
auto-detect-interface: true
strict-route: false
dns-hijack:
- any:53
mtu: 1500
route-exclude-address:
- 10.0.0.0/8
- 192.168.0.0/16
- 127.0.0.0/8
exclude-interface:
- easy_tier
- VMware Network Adapter VMnet1
- VMware Network Adapter VMnet8
- ZeroTier One
# ── 机场订阅(有订阅的填这里,无订阅可删掉)──────────────────
proxy-providers:
赔钱机场:
type: http
url: "https://dash.xn--cp3a08l.com/api/v1/pq/9e314637568476bc4cfbd0a8d9799d0f?flag=meta"
interval: 86400
path: ./proxy_providers/airport-a.yaml
health-check: { enable: true, url: "https://www.gstatic.com/generate_204", interval: 300, lazy: true }
exclude-filter: "(?i)(剩余|流量|到期|套餐|官网|公告)"