Question

Firewall & Apache Error

Posted September 14, 2017 5.1k views
ApacheFirewallUbuntu 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

sudo ufw allow 443
sudo ufw allow 80

Submit an Answer