DEV Community 👩‍💻👨‍💻

Delightfully Nerdy
Delightfully Nerdy

Posted on

-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.

Top comments (5)

Collapse
 
gokgokay profile image
Gökay Gök

this does not work on macOS terminal :/

Collapse
 
rordan1 profile image
R o r d a n ♨️

my man

Collapse
 
maprangsoft profile image
Maprangsoft

thank you.

Collapse
 
dklous profile image
Daniel Klous

thanks

Collapse
 
fagnerlaselva profile image
Fagner La Selva Mendes

valeu

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<