Cloud Firewall vs UFW
People often think the cloud firewall and UFW are one firewall. They sit in two places. A cloud firewall runs in the provider's network, in front of the server, and you set it in a web panel. UFW runs on the server itself. Traffic has to pass both, so a port must be open in each one to work.
Cloud Firewall
A firewall the host runs in front of your server. You set it in a web panel.
A cloud firewall is a firewall your hosting provider runs in front of your server. You set its rules in the provider's web panel, not on the server. Traffic it blocks never reaches the server at all. One set of rules can cover many servers. Many people use it with a firewall on the server too, such as UFW.
Uncomplicated Firewall (UFW)
A small firewall tool on Ubuntu. You type short rules like allow 22.
UFW is a simple firewall tool that comes with Ubuntu. Its name is short for Uncomplicated Firewall. You give it short rules, like allow 22. It turns them into the longer rules the system needs underneath. It is off when Ubuntu is first installed, so you must turn it on yourself.
In one line
- Cloud Firewall
- A firewall the host runs in front of your server. You set it in a web panel.
- Uncomplicated Firewall (UFW)
- A small firewall tool on Ubuntu. You type short rules like allow 22.