I also had this problem still once in a while and had a look at it again. I think in my case the problem is the package sshguard, which also adds firewall rules on startup and in some cases might interfere with ufw startup. I added /etc/systemd/system/sshguard.service.d/after_ufw.conf with content: [Unit] After=ufw.service
and so far this seems to work. I guess any package using iptables on boot should be using some kind of systemd dependency to ufw ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1726856 Title: ufw does not start automatically at boot To manage notifications about this bug go to: https://bugs.launchpad.net/ufw/+bug/1726856/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs