...
Code Block | ||
---|---|---|
| ||
sudo ufw deny 443 # Disables and leave the entry in the status. Useful for a port you leave on and off sometimes.
sudo ufw delete deny port 443 # Delete the rule. Here you must have it disabled to delete it. |
...
Code Block | ||
---|---|---|
| ||
sudo ufw delete allow port 443 # Deletes an enabled rule. |
...