Open Long0x0 opened 4 days ago
Windows
23H2
Mihomo Meta alpha-eb985b0 windows amd64 with go1.23.3 Thu Nov 21 14:54:05 UTC 2024 Use tags: with_gvisor
mode: rule log-level: debug listeners: - name: tun-in type: tun stack: system dns-hijack: - 0.0.0.0:53 auto-route: true auto-detect-interface: true exclude-interface: [] inet4-address: - 198.19.0.1/30 ## the following keys are mandatory? # iproute2-table-index: 2022 # iproute2-rule-index: 9000 # auto-redirect: true # auto-redirect-input-mark: 6666 # auto-redirect-output-mark: 6667 # route-address: [] # route-address-set: [] # route-exclude-address: [] # route-exclude-address-set: [] rules: - MATCH,DIRECT
tun入站的配置默认缺少iproute2-table-index、iproute2-rule-index等。部分键值在文档里也没有提到。记得前几个版本没有问题。
iproute2-table-index
iproute2-rule-index
./mihomo-windows-amd64-alpha.exe -f ./config.yaml -t
time="2024-11-25T13:15:01.2130283+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:01.2202054+08:00" level=error msg="proxy 0: key 'iproute2-table-index' missing" configuration file config.yaml test failed time="2024-11-25T13:15:07.0055137+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:07.0131423+08:00" level=error msg="proxy 0: key 'iproute2-rule-index' missing" configuration file config.yaml test failed time="2024-11-25T13:15:10.222249+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:10.2300203+08:00" level=error msg="proxy 0: key 'auto-redirect' missing" configuration file config.yaml test failed time="2024-11-25T13:15:13.3484527+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:13.3566058+08:00" level=error msg="proxy 0: key 'auto-redirect-input-mark' missing" configuration file config.yaml test failed time="2024-11-25T13:15:16.5719643+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:16.5796745+08:00" level=error msg="proxy 0: key 'auto-redirect-output-mark' missing" configuration file config.yaml test failed time="2024-11-25T13:15:19.5153912+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:19.5235885+08:00" level=error msg="proxy 0: key 'route-address' missing" configuration file config.yaml test failed time="2024-11-25T13:15:22.0491507+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:22.0563157+08:00" level=error msg="proxy 0: key 'route-address-set' missing" configuration file config.yaml test failed time="2024-11-25T13:15:25.372104+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:25.379812+08:00" level=error msg="proxy 0: key 'route-address-set' missing" configuration file config.yaml test failed time="2024-11-25T13:15:27.8285588+08:00" level=info msg="Start initial configuration in progress" time="2024-11-25T13:15:27.8383566+08:00" level=error msg="proxy 0: key 'route-exclude-address-set' missing" configuration file config.yaml test failed
验证步骤
操作系统
Windows
系统版本
23H2
Mihomo 版本
Mihomo Meta alpha-eb985b0 windows amd64 with go1.23.3 Thu Nov 21 14:54:05 UTC 2024 Use tags: with_gvisor
配置文件
描述
tun入站的配置默认缺少
iproute2-table-index
、iproute2-rule-index
等。部分键值在文档里也没有提到。记得前几个版本没有问题。重现方式
./mihomo-windows-amd64-alpha.exe -f ./config.yaml -t
日志