# 面：运行配置（托管；clash_modify.sh modify_yaml → kjx_final_assert；-t 预检用桩）
## 本地面板未装
### modify_yaml 输出
# mode 644
modify_yaml 返回 0
### 运行配置 config.yaml
# mode 600
external-controller: 127.0.0.1:9999
secret: 'snapPanelSecret0042'
log-level: info
geosite-matcher: mph
mixed-port: 7890
redir-port: 7892
tproxy-port: 7893
authentication: [""]
allow-lan: true
mode: Rule
ipv6: true
tun: {enable: false}
experimental: {ignore-resolve-fail: true, interface-name: en0}

find-process-mode: "off"
routing-mark: 7894
unified-delay: true
dns:
  enable: true
  listen: :1053
  use-hosts: true
  ipv6: true
  default-nameserver: [ 223.5.5.5, 2400:3200::1 ]
  direct-nameserver: [ 223.5.5.5, 1.2.4.8 ]
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.0/15
  fake-ip-range6: fc00::/16
  fake-ip-filter:
  nameserver: [ 223.5.5.5, 1.2.4.8 ]
use-system-hosts: true
hosts:
  'time.android.com': 203.107.6.88
  'time.facebook.com': 203.107.6.88
  'services.googleapis.cn': services.googleapis.com
  'localhost.localdomain': 127.0.0.1
  'RT-AX86U-0042.local': 192.168.50.1
proxy-groups:
  - name: 🔰国外流量
    type: select
    use: [kejibear]
    proxies: [♻️自动选择最低延迟节点, 🚀直接连接]
  - name: ♻️自动选择最低延迟节点
    type: url-test
    use: [kejibear]
    filter: "^(?!.*(到期|剩余)).*$"
  - name: 🚀直接连接
    type: select
    proxies: [DIRECT]
proxy-providers:
  kejibear:
    type: file
    path: ./providers/kejibear.yaml
    health-check: {enable: true, url: "https://www.gstatic.com/generate_204", interval: 600}
rules:
 - DOMAIN-SUFFIX,example.com,🚀直接连接
 - MATCH,🔰国外流量
### 运行目录文件
d 755 .
f 600 config.yaml
### 安装目录里的软链 config.yaml
@ROOT/tmp/ShellCrash/config.yaml
### -t 预检调用
# mode 600
kjx_core_exec -t -d @ROOT/jffs/kejibear -f @ROOT/tmp/ShellCrash/config.yaml
### ShellCrash.cfg 里的 secret
secret=snapPanelSecret0042
## 本地面板已装（yacd-meta）
### modify_yaml 输出
# mode 644
modify_yaml 返回 0
### 运行配置 config.yaml
# mode 600
external-controller: 0.0.0.0:9999
external-ui: ui/yacd-meta
external-ui-url: "kjx-disabled://local/ui.zip"
secret: 'snapPanelSecret0042'
log-level: info
geosite-matcher: mph
geo-auto-update: false
geox-url:
  geoip: "kjx-disabled://local/geoip.dat"
  geosite: "kjx-disabled://local/geosite.dat"
  mmdb: "kjx-disabled://local/country.mmdb"
  asn: "kjx-disabled://local/asn.mmdb"
mixed-port: 7890
redir-port: 7892
tproxy-port: 7893
authentication: [""]
allow-lan: true
mode: Rule
ipv6: true
tun: {enable: false}
experimental: {ignore-resolve-fail: true, interface-name: en0}

find-process-mode: "off"
routing-mark: 7894
unified-delay: true
dns:
  enable: true
  listen: :1053
  use-hosts: true
  ipv6: true
  default-nameserver: [ 223.5.5.5, 2400:3200::1 ]
  direct-nameserver: [ 223.5.5.5, 1.2.4.8 ]
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.0/15
  fake-ip-range6: fc00::/16
  fake-ip-filter:
  nameserver: [ 223.5.5.5, 1.2.4.8 ]
use-system-hosts: true
hosts:
  'time.android.com': 203.107.6.88
  'time.facebook.com': 203.107.6.88
  'services.googleapis.cn': services.googleapis.com
  'localhost.localdomain': 127.0.0.1
  'RT-AX86U-0042.local': 192.168.50.1
proxy-groups:
  - name: 🔰国外流量
    type: select
    use: [kejibear]
    proxies: [♻️自动选择最低延迟节点, 🚀直接连接]
  - name: ♻️自动选择最低延迟节点
    type: url-test
    use: [kejibear]
    filter: "^(?!.*(到期|剩余)).*$"
  - name: 🚀直接连接
    type: select
    proxies: [DIRECT]
proxy-providers:
  kejibear:
    type: file
    path: ./providers/kejibear.yaml
    health-check: {enable: true, url: "https://www.gstatic.com/generate_204", interval: 600}
rules:
 - DOMAIN-SUFFIX,example.com,🚀直接连接
 - MATCH,🔰国外流量
### 运行目录文件
d 755 .
f 600 config.yaml
### 安装目录里的软链 config.yaml
@ROOT/tmp/ShellCrash/config.yaml
### -t 预检调用
# mode 600
kjx_core_exec -t -d @ROOT/jffs/kejibear -f @ROOT/tmp/ShellCrash/config.yaml
### ShellCrash.cfg 里的 secret
secret=snapPanelSecret0042
