This commit is contained in:
bluemeda 2018-02-27 22:14:23 +07:00
parent 874693a418
commit 585286edfe
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ do
if [[ $? == 0 ]]; if [[ $? == 0 ]];
then then
iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53 iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53
iptables-t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53 iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53
break; break;
else else
sleep 5 sleep 5