Check rule creation
Create a new rule for port 8080. Verify that it has been added to the active rules and then you can delete it.
sudo ufw allow 8080
sudo ufw status numbered
To delete the rule, we must use the command:
We check that it has been deleted
and we see the number of the next rule that needs to be deleted..

Delete the new rule.
We check that only the required rules in the subject remain:
Last updated
Was this helpful?