diff --git a/install.sh b/install.sh index 91da049..87a2ee2 100755 --- a/install.sh +++ b/install.sh @@ -33,18 +33,18 @@ do done # firewall -ports=(22 80 443) -for port in ${ports[@]}; -do - echo -e "ufw allow $port/tcp" > $firelogloc - ufw allow $port/tcp 1>> $firelogloc 2>> $firelogloc - if [ $? -ne 0 ] ; then - echo -e "\tfirewall failed to update port $port correctly. $firelogmsg" - exit 1 - fi -done -echo -e "\tenabling ufw" -ufw --force enable +#ports=(22 80 443) +#for port in ${ports[@]}; +#do +# echo -e "ufw allow $port/tcp" > $firelogloc +# ufw allow $port/tcp 1>> $firelogloc 2>> $firelogloc +# if [ $? -ne 0 ] ; then +# echo -e "\tfirewall failed to update port $port correctly. $firelogmsg" +# exit 1 +# fi +#done +#echo -e "\tEnabling ufw" +#ufw --force enable 1>> $firelogloc 2>> $firelogloc ################################################################################ # Python