Changed script to allow user to do ufw enable

VM testing seems to not permit website access to localhost if enabled. Only useful for UFW rules if on a VPS for public hosting anyway.
This commit is contained in:
Marwolf
2018-07-20 22:01:29 -04:00
parent 7ab48c8d59
commit 3a80144217

View File

@@ -105,7 +105,10 @@ if [ "$install" == "1" ]; then
sudo ufw allow 80/tcp
sudo ufw allow 53595/tcp
sudo ufw deny 3306/tcp
sudo ufw enable
echo ""
echo ""
echo "UFW firewall rules have been added. Enable it later via:"
echo "sudo ufw enable"
echo ""
echo ""
echo "Do you have Java OpenJDK installed already?"