Hello,
I run VPS with public IP with mail and web server on it. I have heard it might be good idea to set up a firewall. So I did these ufw settings, hoping, it will only allow ssh, mail and web related ports. And then rebooted VPS.
Status: active
Logging: on (low)
Default: deny (incoming)...