mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
~默认更新服务器改成cloudflare源
~修复部分设备本地更新内核和配置文件报错的bug ~将默认路由表改成166避免冲突
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user