---
title: "Configure rules on a Selectel firewall"
sidebar_label: "Configure rules"
sidebar_position: 8
description: "How to configure traffic transit rules on a firewall"
---

import Formbricks from '@theme/MDXComponents/Formbricks';

# Configure rules on a Selectel firewall

Rules are configured for the network interface.Rules are checked from the top of the list to the bottom.

1. [Connect to the Selectel firewall via the graphical interface](/firewalls/selectel/connect-to-firewall.mdx#connect-to-firewall-through-gui).

2. In the **Firewall** menu, go to the **Rules**.

3. Open the tab for the network interface to which you want to add a rule.

4. Click **Add**.

5. In the **Edit Firewall Rule** block, in the **Action** field, select the traffic handling rule:

   * **Pass** — traffic is allowed;
   * **Block** — traffic is blocked without a response;
   * **Reject** — traffic is blocked with a response.

6. Click **Save**.

7. Optional: drag and drop the rule to the desired position in the table.

8. Click **Apply Changes**.

<Formbricks />
