{{indexmenu_n>30}} # Rules Firewall rules are more fine grained filtering rules for filtering your traffic. ## View The page shows the configured rules. Each rule can be modified by clicking the **Edit** button. Once you have chosen to edit one rule, the edit view is shown consistently, and you can quickly switch between configured rules by selecting them in the list. ### Configuration When a particular interface is selected, details about it is shown in the configuration section. #### General ^ Item ^ Description ^ Comment ^ | Enabled | Turn firewall rule on or off. | | Expose To | Users with access to the rule. | | Name | Identifier for the rule. | #### Source / Destination Where applicable, the configuration is divided into separate sections for **source** and **destination** zones. ^ Item ^ Description ^ Comment ^ | Zone | Device / Any / LAN / WAN | | IP | [IPv4](/glossary/i/ipv4_address) / [IPv6](/glossary/i/ipv6_address) address. | | MAC | [MAC](/glossary/m/mac) address. | | Port | [Port](/glossary/p/port) affected. | #### Parameters ^ Item ^ Description ^ Comment ^ | IP version | Any / [IPv4](/glossary/i/ipv4) / [IPv6](/glossary/i/ipv6) | | Protocol | Protocol affected: ([UDP](/glossary/u/udp) / [TCP](/glossary/t/tcp) / [ICMP](/glossary/i/icmp) / TCP + UDP / [ESP](/glossary/e/esp)) | | Firewall action | [Firewall action](/glossary/f/firewall_action) to perform. | ### Add Firewall Rule * Click the **Add** button A new rule named `new_rule` is added at the bottom of the list. * Click the **Edit** button for the new rule * Enter properties as needed. * Click **OK** * Click **Apply** ### Reorder Firewall Rules The firewall rules are applied in order from top to bottom in the list. You can rearrange the rules by using the buttons: | {{/icon/up.png?nolink}} | Move up | | | {{/icon/down.png?nolink}} | Move down | |