浏览代码

Remove ephemerals

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

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

463
   echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
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
 function configure_firewall_for_web {
466
 function configure_firewall_for_web {
476
   if grep -Fxq "configure_firewall_for_web" $COMPLETION_FILE; then
467
   if grep -Fxq "configure_firewall_for_web" $COMPLETION_FILE; then
477
 	  return
468
 	  return
977
 enable_zram
968
 enable_zram
978
 random_number_generator
969
 random_number_generator
979
 configure_firewall_for_ftp
970
 configure_firewall_for_ftp
980
-configure_firewall_ephemeral_ports
981
 configure_firewall_for_git
971
 configure_firewall_for_git
982
 configure_firewall_for_email
972
 configure_firewall_for_email
983
 set_your_domain_name
973
 set_your_domain_name