This commit is contained in:
jelly21fish 2024-06-24 00:31:39 +08:00 committed by GitHub
parent 23d10a8be6
commit 9124d0fade
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1029,6 +1029,7 @@ start_iptables() { #iptables配置总入口
fi
}
}
}
[ "$redir_mod" = "Tproxy模式" ] && {
JUMP="TPROXY --on-port $tproxy_port --tproxy-mark $fwmark" #跳转劫持的具体命令
if iptables -j TPROXY -h 2>/dev/null | grep -q '\--on-port'; then