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:
@@ -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?"
|
||||
|
||||
Reference in New Issue
Block a user