v1.0.0beta8fix

~修复手动更新订阅功能出错的bug
~调整本机代理功能设置
~修复GoogleHome无法使用的问题
This commit is contained in:
juewuy
2020-09-20 14:37:35 +08:00
parent 0abe34884e
commit af50730d3a
3 changed files with 5 additions and 1 deletions

View File

@@ -270,6 +270,7 @@ start_dns(){
iptables -t nat -A clash_dns -m mac --mac-source $mac -j RETURN
done
iptables -t nat -A clash_dns -p udp --dport 53 -j REDIRECT --to 1053
iptables -t nat -A clash_dns -p tcp --dport 53 -j REDIRECT --to 1053
iptables -t nat -A PREROUTING -p udp -j clash_dns
#Google home DNS特殊处理
iptables -t nat -I PREROUTING -p tcp -d 8.8.8.8 -j clash_dns
@@ -356,5 +357,8 @@ getyaml)
getconfig
getyaml
;;
daemon_old)
daemon_old
;;
esac
exit 0