# Activate an NIC-based Firewall

To activate a Firewall, follow these steps:

1\. In the **DCD**, go to **Menu** > **Virtual Data Centers**.

2\. Select the data center to activate firewall.

3\. In the Workspace, select a Virtual Machine with a **NIC**.

4\. From the Inspector pane, open the **Network** tab.

5\. Open the properties of the NIC for which you want to set up a Firewall.

6\. Choose either **Ingress**, **Egress**, or **Bidirectional** traffic flow type for which the Firewall needs to be activated.

![Activate a Firewall](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-ff37472cea9918f21bbdeade39772b45d5e4b3c3%2Factivate-firewall.png?alt=media)

{% hint style="warning" %}
**Warning:** Activating the Firewall without additional rules will block all incoming traffic. Make sure you set the Firewall rules by using **Manage Rules**.
{% endhint %}

{% hint style="success" %}
**Result:** The Firewall is activated for the selected **NIC**.
{% endhint %}
