v1.0.0beta16.7

~增加tproxy——udp模式对黑白名单mac过滤的适配
~优化导入自定义配置文件功能
~修复ip6tables在不可用时仍旧强行使用导致报错的bug
~修复ipv6dns导致污染的bug
This commit is contained in:
juewuy
2020-11-05 20:58:17 +08:00
parent 8fbb88b707
commit 9c0440caaf
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@@ -279,7 +279,6 @@ start_redir(){
done
iptables -t nat -A clash -p tcp $ports -j REDIRECT --to-ports $redir_port
fi
#转发设置
iptables -t nat -A PREROUTING -p tcp -j clash
#设置ipv6转发
ip6_nat=$(ip6tables -t nat -L 2>&1 | grep -o 'Chain')
@@ -297,8 +296,8 @@ start_redir(){
done
ip6tables -t nat -A clashv6 -p tcp $ports -j REDIRECT --to-ports $redir_port
fi
ip6tables -t nat -A PREROUTING -p tcp -j clashv6
fi
ip6tables -t nat -A PREROUTING -p tcp -j clashv6
}
start_dns(){
#允许tun网卡接受流量