ITADN

route-all的实现方式有问题

#1336OpenrevonateB0T 创建于 2026-04-26
R
revonateB0Tcommented
添加default route的话会和network manager产生冲突因为已经有default route了 ``` default via *** dev wlp2s0 proto dhcp src *** metric 600 ***/24 dev wlp2s0 proto kernel scope link src *** metric 600 198.18.0.0/30 dev Meta proto kernel scope link src 198.18.0.1 ``` Mihomo的auto-route是这么实现的 ``` 0: from all lookup local 9000: from all to 198.18.0.0/30 lookup 2022 9001: not from all dport 53 lookup main suppress_prefixlength 0 9001: from all iif Meta goto 9010 9002: not from all iif lo lookup 2022 9002: from 0.0.0.0 iif lo lookup 2022 9002: from 198.18.0.0/30 iif lo lookup 2022 9010: from all nop 32766: from all lookup main 32767: from all lookup default ```
8 条评论