mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
v1.0.0beta14fix4
~修复部分ssr节点不可用的bug ~mac过滤功能增加移除单个设备以及添加全部设备功能 ~修复设置本机代理时直接跳出的bug ~优化安装脚本,增加root用户检测 ~优化ipv6dns拦截方式
This commit is contained in:
parent
5598809f57
commit
94c0ed99ef
|
@ -273,7 +273,8 @@ start_dns(){
|
||||||
ip6tables -t nat -A clashv6_dns -p udp --dport 53 -j REDIRECT --to $dns_port > /dev/null 2>&1
|
ip6tables -t nat -A clashv6_dns -p udp --dport 53 -j REDIRECT --to $dns_port > /dev/null 2>&1
|
||||||
ip6tables -t nat -A PREROUTING -p udp -j clashv6_dns > /dev/null 2>&1
|
ip6tables -t nat -A PREROUTING -p udp -j clashv6_dns > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
ip6tables -I INPUT -p tcp --dport 53 -j DROP
|
ip6tables -I INPUT -p tcp --dport 53 -j REJECT
|
||||||
|
ip6tables -I INPUT -p udp --dport 53 -j REJECT
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
daemon(){
|
daemon(){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user