Firewall & Apache Error

September 14, 2017 4.6k views
Apache Firewall Ubuntu 16.04

While following DigitalOcean’s “How To Install the Apache Web Server on Ubuntu 16.04” guide:

Step 1: Install Apache – success :)

sudo apt-get update
sudo apt-get install apache2

Step 2: Adjust the Firewall – failure :(

$ sudo ufw allow 'Apache Full'

returns

ERROR: Need 'to' or 'from' clause

I am a newb. What am I doing wrong?

2 Answers

sudo ufw allow 443
sudo ufw allow 80

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!