Bob Mottram hace 10 años
padre
commit
f5122f3e68
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      install-freedombone.sh

+ 3
- 3
install-freedombone.sh Ver fichero

@@ -446,12 +446,12 @@ function save_firewall_settings {
446 446
 }
447 447
 
448 448
 function configure_firewall_for_dns {
449
-  if grep -Fxq "configure_firewall_for_ftp" $COMPLETION_FILE; then
449
+  if grep -Fxq "configure_firewall_for_dns" $COMPLETION_FILE; then
450 450
 	  return
451 451
   fi
452
-  iptables -A INPUT -i eth0 -p tcp --dport 53 -j ACCEPT
452
+  iptables -A INPUT -i eth0 -p udp -m udp --dport 1024:65535 --sport 53 -j ACCEPT
453 453
   save_firewall_settings
454
-  echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
454
+  echo 'configure_firewall_for_dns' >> $COMPLETION_FILE
455 455
 }
456 456
 
457 457
 function configure_firewall_for_ftp {