v1.0.0beta8fix
~修复手动更新订阅功能出错的bug ~调整本机代理功能设置 ~修复GoogleHome无法使用的问题
This commit is contained in:
Binary file not shown.
@@ -1,2 +1,2 @@
|
|||||||
GeoIP_v=20200917
|
GeoIP_v=20200917
|
||||||
versionsh=1.0.0beta8
|
versionsh=1.0.0beta8fix
|
||||||
|
|||||||
@@ -270,6 +270,7 @@ start_dns(){
|
|||||||
iptables -t nat -A clash_dns -m mac --mac-source $mac -j RETURN
|
iptables -t nat -A clash_dns -m mac --mac-source $mac -j RETURN
|
||||||
done
|
done
|
||||||
iptables -t nat -A clash_dns -p udp --dport 53 -j REDIRECT --to 1053
|
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
|
iptables -t nat -A PREROUTING -p udp -j clash_dns
|
||||||
#Google home DNS特殊处理
|
#Google home DNS特殊处理
|
||||||
iptables -t nat -I PREROUTING -p tcp -d 8.8.8.8 -j clash_dns
|
iptables -t nat -I PREROUTING -p tcp -d 8.8.8.8 -j clash_dns
|
||||||
@@ -356,5 +357,8 @@ getyaml)
|
|||||||
getconfig
|
getconfig
|
||||||
getyaml
|
getyaml
|
||||||
;;
|
;;
|
||||||
|
daemon_old)
|
||||||
|
daemon_old
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
exit 0
|
exit 0
|
||||||
Reference in New Issue
Block a user