~默认更新服务器改成cloudflare源

~修复部分设备本地更新内核和配置文件报错的bug
~将默认路由表改成166避免冲突
This commit is contained in:
juewuy
2025-11-24 18:56:53 +08:00
parent a0da1cd203
commit a68b7aef5d
3 changed files with 16 additions and 19 deletions

View File

@@ -1425,7 +1425,7 @@ start_firewall() { #路由规则总入口
getlanip #获取局域网host地址
#设置策略路由
[ "$firewall_area" != 4 ] && {
local table=100
local table=166
[ "$redir_mod" = "Tproxy模式" ] && ip route add local default dev lo table $table 2>/dev/null
[ "$redir_mod" = "Tun模式" -o "$redir_mod" = "混合模式" ] && {
i=1