Merge pull request #4 from betawi/master

Fix Tethering Client cannot resolve Dnscrypt
This commit is contained in:
Affif Mukhlashin 2018-03-12 10:54:14 +07:00 committed by GitHub
commit 784c35d99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ do
sleep 5 sleep 5
iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:5353 iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:5353
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:5353 iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:5353
iptables -t nat -A INPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:5353
iptables -t nat -A INPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:5353
break; break;
else else
sleep 5 sleep 5