# Cloud Firewall

> A firewall the host runs in front of your server. You set it in a web panel.

**Field:** Infrastructure  
**Category:** Renting a Server (VPS)  
**Also known as:** Provider Firewall, Security Group, Hosted Firewall

## Think of it like

Think of it like a gate at the end of your road. Visitors are checked before they reach your house.

## Definition

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.

## Example

Emma makes a cloud firewall that lets in only ports 22 and 443. She applies it to all five of her servers at once.

## Why it matters

It stops bad traffic before your server has to deal with it. A mistake on the server cannot turn it off.

## Common mistake

Opening a port on the server and forgetting the cloud firewall. The traffic is still blocked at the gate.

## Three principles

- **In front.** Blocked traffic never arrives.
- **Set in the panel.** Not on the server.
- **Two layers.** Use it with a server firewall.

## Related terms

- [Firewall](https://learn.benibix.com/term/infrastructure/firewall)
- [Uncomplicated Firewall (UFW)](https://learn.benibix.com/term/infrastructure/ufw)
- [Network Port](https://learn.benibix.com/term/infrastructure/port)
- [Virtual Private Server (VPS)](https://learn.benibix.com/term/infrastructure/virtual-private-server)

## Told apart from

- [Cloud Firewall vs UFW](https://learn.benibix.com/compare/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.

## Taught in

- [Cloud Firewall and Floating IP](https://learn.benibix.com/learn/infrastructure-vps/cloud-firewall-and-floating-ip): VPS, 6/7

![Settings that live in the provider's panel, outside the server. A cloud firewall in front of the server lets only ports 22 and 443 through. A floating IP points at server A and can be moved to server B. A reverse DNS record turns the server's IP address back into its name.](https://learn.benibix.com/diagrams/inf3-vps-network.svg)

---

Source: https://learn.benibix.com/term/infrastructure/cloud-firewall
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
