Explorar el Código

More ephemeral ports

Bob Mottram hace 11 años
padre
commit
bdfa7c6909
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      install-freedombone.sh

+ 2
- 2
install-freedombone.sh Ver fichero

@@ -455,8 +455,8 @@ function configure_firewall_for_web {
455 455
   if grep -Fxq "configure_firewall_for_web" $COMPLETION_FILE; then
456 456
 	  return
457 457
   fi
458
-  iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
459
-  iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT
458
+  iptables -A INPUT -i eth0 -p tcp --dport 80 --sport 32768:61000 -j ACCEPT
459
+  iptables -A INPUT -i eth0 -p tcp --dport 443 --sport 32768:61000 -j ACCEPT
460 460
   save_firewall_settings
461 461
   echo 'configure_firewall_for_web' >> $COMPLETION_FILE
462 462
 }