v1.7.3b
~修复部分设备因iptables版本过低导致ipv6dns劫持失效的问题 ~修复安装脚本始终解压失败的bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) Juewuy
|
||||
|
||||
version=1.7.3
|
||||
version=1.7.3b
|
||||
|
||||
setdir(){
|
||||
dir_avail(){
|
||||
|
||||
@@ -572,7 +572,7 @@ start_ipt_dns(){
|
||||
fi
|
||||
iptables -t nat -I PREROUTING -p udp --dport 53 -j clash_dns
|
||||
#ipv6DNS
|
||||
if [ -n "$(lsmod | grep 'ip6table_nat')" ];then
|
||||
if [ -n "$(lsmod | grep 'ip6table_nat')" -a -n "$(lsmod | grep 'xt_nat')" ];then
|
||||
ip6tables -t nat -N clashv6_dns > /dev/null 2>&1
|
||||
if [ "$macfilter_type" = "白名单" -a -n "$(cat $clashdir/mac)" ];then
|
||||
#mac白名单
|
||||
|
||||
Reference in New Issue
Block a user