Merge pull request #4 from betawi/master
Fix Tethering Client cannot resolve Dnscrypt
This commit is contained in:
commit
784c35d99c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue