> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.cloudcone.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to use the Cloud Firewall?


![](https://storage.crisp.chat/users/helpdesk/website/2d4cd5516f670e00/formatfactoryfirewall-rules_wani53.gif)
If you are not a fan of managing software firewalls within your Scalable Cloud Server, you can use our Cloud Firewall to allow and deny ports of your choice.
In this guide, we will show you how to allow port 22 for IP 10.10.1.254

1. Navigate to the Firewall tab on your Scalable Cloud Server

![](https://storage.crisp.chat/users/helpdesk/website/b4a6582f-f407-4054-b73c-d6e4bf698b1e/a02e869d-823e-4e77-ae1b-6363d55f59f6.png)

2. Select the Network Interface you need to set your Firewall rules for via the drop down menu

![](https://storage.crisp.chat/users/helpdesk/website/2d4cd5516f670e00/screen-shot-2020-12-07-at-7024_576mpk.png)

| To view more details on your Network Interfaces, visit the Networking tab of your Scalable Cloud Server manage page.

Once selected, proceed to the next step to add firewall rules for the selected interface.

3. Click the collapse to add a new firewall rule

The following fields will appear to accept your new rule
* Command: DROP or ACCEPT the rule, i.e., ACCEPT
* Source IP: the source IPv4 or IPv6 address, i.e., 10.10.1.254
* Destination port: the port in question, i.e., 22
* Protocole: TCP or UDP

4. Once the related fields are filled, proceed to add the rule by clicking the Add button

![](https://storage.crisp.chat/users/helpdesk/website/b4a6582f-f407-4054-b73c-d6e4bf698b1e/cf88aa37-89d4-4ef5-90b9-9f9aedbe1afa.png)

| At this point, the rules are not applied to your Scalable Cloud Server, please feel free to add all the relevant rules before proceeding to the last step

5. Finally, once you have added all the rules, click on Apply Rules to save and activate the rules onto your Scalable Cloud Server

![](https://storage.crisp.chat/users/helpdesk/website/b4a6582f-f407-4054-b73c-d6e4bf698b1e/64fed9c1-6493-4c16-ab43-437d273b032b.png)

###### Valid Source IPs
Individual IPv4 and IPv6 are allowed.

###### Valid Destination ports
The following are considered valid port ranges when using the firewall
* To input a port range, use: 3000:30059
* To input multiple ports, use: 22,21,80,443