浏览代码

Update ftp

Bob Mottram 11 年前
父节点
当前提交
8d151fc6d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh 查看文件

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