I've been messing around writing different application profiles for Ufw to get it to work properly, but I can't figure out how to completely and correctly remove an application profile that I previously added with sudo ufw allow [application profile]
.
I've even tried uninstallning (sudo apt purge ufw
) and reinstalling and this removes everything in /etc/ufw
except the applications.d
dir, so no settings could be lurking in /etc/ufw
. I have also removed the actual profile file from the applications.d
dir, but still every time I run:
$ sudo ufw status verbose
I get
WARN: Skipping '[profile I removed]': field too long
However the firewall settings in the removed profile is deactivated as they should as of the output from sudo ufw status verbose
.
sudo apt purge ufw
deletes theufw
package from your system. Surely this was not your intent.sudo apt install ufw
, then readman ufw
, especially aboutsudo ufw delete ...
. – waltinator Apr 04 '20 at 04:53/etc/ufw
dir was emptied didn't help. – PetaspeedBeaver Apr 05 '20 at 19:33