瀏覽代碼

Remove ephemerals

Bob Mottram 11 年之前
父節點
當前提交
0ae29f175a
共有 1 個文件被更改,包括 0 次插入10 次删除
  1. 0
    10
      install-freedombone.sh

+ 0
- 10
install-freedombone.sh 查看文件

@@ -463,15 +463,6 @@ function configure_firewall_for_ftp {
463 463
   echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
464 464
 }
465 465
 
466
-function configure_firewall_ephemeral_ports {
467
-  if grep -Fxq "configure_firewall_ephemeral_ports" $COMPLETION_FILE; then
468
-	  return
469
-  fi
470
-  iptables -I INPUT -i eth0 -p tcp --dport 32768:61000 -j ACCEPT
471
-  save_firewall_settings
472
-  echo 'configure_firewall_ephemeral_ports' >> $COMPLETION_FILE
473
-}
474
-
475 466
 function configure_firewall_for_web {
476 467
   if grep -Fxq "configure_firewall_for_web" $COMPLETION_FILE; then
477 468
 	  return
@@ -977,7 +968,6 @@ update_the_kernel
977 968
 enable_zram
978 969
 random_number_generator
979 970
 configure_firewall_for_ftp
980
-configure_firewall_ephemeral_ports
981 971
 configure_firewall_for_git
982 972
 configure_firewall_for_email
983 973
 set_your_domain_name