~修复容器环境下无法使用tproxy的问题

~为meta内核增加对quic流量的域名嗅探参数
This commit is contained in:
juewuy
2024-08-25 21:25:20 +08:00
parent cdb4b94471
commit f359cb866e
2 changed files with 3 additions and 3 deletions

View File

@@ -1259,7 +1259,7 @@ set_redir_mod(){ #代理模式设置
sleep 1
fi
elif [ "$firewall_mod" = "nftables" ] ;then
if modprobe nft_tproxy >/dev/null 2>&1;then
if modprobe nft_tproxy >/dev/null 2>&1 || lsmod 2>/dev/null | grep -q nft_tproxy;then
redir_mod=Tproxy模式
set_redir_config
else