Rollback " ufw allow 22 "

i haven’t used ufw myself, but man ufw shows a reset command:

reset
Disables and resets firewall to installation defaults. Can also
give the --force option to perform the reset without confirma‐
tion.

1 Like