~重写nftables支持,尝试支持全功能ipv6路由
~定时任务增加自定义语句功能
~修复ipv6 tproxy下quic屏蔽
~启动自检优化
~部分功能描述优化
This commit is contained in:
juewuy
2022-12-01 23:10:49 +08:00
parent 18bb5069ce
commit 70f3256576
3 changed files with 140 additions and 112 deletions

View File

@@ -1109,9 +1109,8 @@ testcommand(){
exit;
elif [ "$num" = 4 ]; then
if [ -n "$(echo $redir_mod | grep 'Nft')" ];then
nft list table shellclash
[ "$ipv6_support" = "已开启" ] && nft list table ip6 shellclashv6
if [ -n "$(echo $redir_mod | grep 'Nft')" -o "$local_type" = "nftables增强模式" ];then
nft list table inet shellclash
else
echo -------------------Redir---------------------
iptables -t nat -L PREROUTING --line-numbers