Browse Source

web ports

Bob Mottram 10 years ago
parent
commit
12f78d1fc5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      install-freedombone.sh

+ 2
- 2
install-freedombone.sh View File

@@ -467,8 +467,8 @@ function configure_firewall_for_web {
467 467
   if grep -Fxq "configure_firewall_for_web" $COMPLETION_FILE; then
468 468
 	  return
469 469
   fi
470
-  iptables -A INPUT -i eth0 -p tcp --dport 80 --sport 32768:61000 -j ACCEPT
471
-  iptables -A INPUT -i eth0 -p tcp --dport 443 --sport 32768:61000 -j ACCEPT
470
+  iptables -A INPUT -i eth0 -p tcp --dport 32768:61000 --sport 80 -j ACCEPT
471
+  iptables -A INPUT -i eth0 -p tcp --dport 32768:61000 --sport 443 -j ACCEPT
472 472
   save_firewall_settings
473 473
   echo 'configure_firewall_for_web' >> $COMPLETION_FILE
474 474
 }