-bash: ufw: command not found (ubuntu 18.04)

delightfullynerdy

Dalitso Kasonde

Posted on October 19, 2020

-bash: ufw: command not found (ubuntu 18.04)

UFW - Uncomplicated Firewall

Please note this tutorial is used in configuring the ufw for an ubuntu 18.04 server

  1. Check whether ufw is installed or enabled by typing the following command : sudo ufw enable

  2. If error still prevails install ufw by typing :
    sudo apt-get install ufw

  3. Check status of ufw by typing : sudo ufw status

4.If status show inactive type : sudo ufw enable

NB - after activating ufw ensure that ssh is enable to allow you to access your server through ssh.

💖 💪 🙅 🚩
delightfullynerdy
Dalitso Kasonde

Posted on October 19, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related