Networking - Cloud Firewall

A free cloud-based firewall service that can be used to secure any Linode Compute Instance, allowing network traffic only on the specified ports, protocols, and IP addresses.

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

Linode’s Cloud Firewall is a robust cloud-based firewall solution available at no additional charge for Linode customers. Through this service, you can create, configure, and add stateful network-based firewalls to any Linode Compute Instance.

Enhanced Security

A Cloud Firewall sits between a Linode Compute Instance and the Internet and can be configured to filter out unwanted network traffic before it even reaches your server. Defend your apps and services from malicious attackers by creating rules to only allow traffic from trusted sources. Firewall rules can filter traffic at the network layer, providing fine-grained control over who can access your Linodes.

Simple Interface

Control inbound and outbound traffic using the Linode API, Linode CLI or Cloud Manager. Each interface can be integrated into your workflow for seamless control over firewall rules. Cloud Firewalls make security more accessible and they enable you to secure your Linode’s network traffic without needing to learn complicated firewall software or even access the command line.

Scalable Security in Seconds

Stay protected as your network grows. Effortlessly apply the same ruleset across multiple Linode Compute Instances. This saves time as you no longer need to manually configure internal firewall software on each server.


Cloud Firewalls are available across all regions.

Limits and Considerations

  • Cloud Firewalls are compatible with all Linode Compute Instances. They are not currently directly supported on other Linode services, such as NodeBalancers or Object Storage.
  • A Cloud Firewall can be attached to multiple Compute Instances but a Compute Instance can only be attached to one active (enabled) Cloud Firewall at a time.
  • Cloud Firewall rules are applied to traffic over the public and private network but are not applied to traffic over a private VLAN.
  • A maximum of 25 rules can be added to each Cloud Firewall (both Inbound and Outbound rules combined).
  • A maximum of 255 IP addresses (and ranges) can be added to each Cloud Firewall rule.
  • All IP addresses and IP Ranges must be formatted correctly, or changes will be unable to be saved.
  • A maximum of 15 ports (and port ranges) can be defined on each Cloud Firewall rule.

This page was originally published on

Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.