Checking my UFW version I see its 0.35. However, I installed the Snap UFW and it is version 0.36pre-16.2.
So how do I use the snap version of UFW? Do I have to uninstall UFW 0.35 first?
I also uninstalled ufw (0.35) and then ran ufw version and got the following:
Could not use iptables. Please run:
'sudo snap connect ufw:firewall-control ubuntu-core:firewall-control'
I tried running that but then got:
error: the required argument <snap>:<slot> was not provided.
Any ideas?
Here is output of snap interfaces:
I installed UFW- no previous version was present- on Ubuntu Core 16.04 as below without issues:
and
sudo snap interfaces
confirms it's recognized:UFW version I'm using:
It's been a few years since you posted your issue, so maybe you ran into a bug. But as of 20190508 installing UFW installs without issue.