{{indexmenu_n>140}} # Rules The **Rules** tab allows you to define how LAN traffic should be filtered and distributed over the available WANs. Rules are the way the Policies are applied to the traffic. Each Rule targets packets with some kind of filter. The Rules are applied in order from top to bottom. Multiple rules that can use the same [policy](../policies/start) but target different traffic. ## Configuration At the top of the page is a list of rules. When a particular rule is selected, details about it is shown in the configuration section. ^ Item ^ Description ^ Comment ^ | Policy to use | Policy configured in the [policies](../policies/start) tab. | `Default` means the default [routing table](/glossary/r/routing_table) will be used. | | Any Source IP | Enable to match all origins, regardless of IP address. | | | Source Address | External target [IP](/glossary/i/ip) address. | | | Source Port | Range of [ports](/glossary/p/port) to match. | | | Any Destination IP | Enable to match all destinations, regardless of IP address. | | | Destination Address | External target [IP](/glossary/i/ip) address. | | | Destination Port | Range of [ports](/glossary/p/port) to match. | | | Protocol | Protocols affected by the rule. | All / [TCP](/glossary/t/tcp) / [UDP](/glossary/u/udp) / [ICMP](/glossary/i/icmp) |