limit: avg 3/min burst 10 LOG level warning prefix “[UFW BLOCK] “

  1. To take the rules back to the default settings:sudo ufw reset


If you want to see how the sudo ufw reset will change your rules use --dry-run option first, then compare the /etc/ufw/before.rules.20170513_185835 file to the /etc/ufw/before.rules.20170513_185835 file.


sudo ufw --dry-run reset

To compare:

sudo diff /etc/ufw/after.rules.20170513_185835 /etc/ufw/before.rules.20170513_185835

After reset your server is able to login via ssh

Leave a Reply