This suggests a problem with your kernel, upgrade procedures of the kernel or another program has firewall rules loaded that are conflicting with ufw in some way. ufw is a frontend to iptables, which is the program used to manipulate the netfilter firewall capabilities of your kernel. ufw doesn't 'do' anything on its own in the background except on boot, when it loads the firewall rules you have specified. Removing ufw and reinstalling flushes the chains and then reinitializes them (which incidentally can be accomplished by doing 'sudo /lib/ufw/ufw-init flush- all ; sudo /lib/ufw/ufw-init start' or by rebooting). You also mentioned that this is a VM-- it could be that networking is not set up properly for the VM.
The next time you have the problem, before you try to correct it please attach the output of the following commands: $ sudo /usr/share/ufw/check-requirements $ sudo ufw show raw You can also try these yourself beforehand-- the first will tell you if your kernel has everything you need and the latter should only show the default chains and chains starting with 'ufw'. If you see other rules in there, you will want to investigate what added them and remove the offending program. -- UFW blocks internet after kernal update. https://bugs.launchpad.net/bugs/650620 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs