Bob Mottram 10 anni fa
parent
commit
8d151fc6d1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh Vedi File

458
   if grep -Fxq "configure_firewall_for_ftp" $COMPLETION_FILE; then
458
   if grep -Fxq "configure_firewall_for_ftp" $COMPLETION_FILE; then
459
 	  return
459
 	  return
460
   fi
460
   fi
461
-  iptables -I INPUT -i eth0 -p tcp --dport 20:21 -j ACCEPT
461
+  iptables -I INPUT -i eth0 -p tcp --dport 1024:65535 --sport 20:21 -j ACCEPT
462
   save_firewall_settings
462
   save_firewall_settings
463
   echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
463
   echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
464
 }
464
 }