I am trying to setup UFW on Ubuntu 16.04. After searching this forum for help I found an comment that is proven work at least on 14.04. After applying the suggest changes in the same way/place my machine refuses to start after a (hard reboot). I have to enter the rescue mode and disable UFW manually.
The only thing I see is this message:
>>> Checking user input for debug/verbose mode... >>> Checking user input for debug shell... >>> Signaling the server is kernel-started to the control plane... >>> Adjusting time (ntp)... >>> Initializing 'local' root file system... >>> Attaching nbd0... [ 39.032431] random: fast init done [ 143.028160] random: crng init done