2

question concerning the ufw firewall :

sudo ufw enable

returns

Firewall is active and enabled on system startup

sounds fine, but when i start gufw after reboot, it is still off

what does that mean ? the gui is off and the firewall is running ?

(i know ufw is the command line to set iptables)

riimzzai
  • 1,128

2 Answers2

6

It does not matter if you enable or disable the firewall in the terminal, since the *gufw app needs administrative rights it will always open like this:

enter image description here

after you unlock the app with your password then you will see that it is actually active:

enter image description here

This is because the system does not know if the person opening gufw is the same person that enabled the Firewall in the terminal (You might have just walked out of the room to go to the bathroom and a hacker just climbed through the window, ran to your computer and tried to open gufw while you were away). So this is why it asks again, just to make sure.

Luis Alvarado
  • 216,643
0

When you start gufw it is shown as off, but then when you unlock it, you'll see that it is on.

Eliah Kagan
  • 119,640