소스 검색

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
 }