Bob Mottram 10 år sedan
förälder
incheckning
8d151fc6d1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh Visa fil

@@ -458,7 +458,7 @@ function configure_firewall_for_ftp {
458 458
   if grep -Fxq "configure_firewall_for_ftp" $COMPLETION_FILE; then
459 459
 	  return
460 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 462
   save_firewall_settings
463 463
   echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
464 464
 }