Browse Source

Update ftp

Bob Mottram 10 years ago
parent
commit
8d151fc6d1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh View File

@@ -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
 }