WAN Rules establish the conditions for applying a specific WAN Policy. By associating a WAN Rule to a WAN Policy, you are defining the optimal route for traffic that meets the rule condition.
Common rule conditions include:
- An application
- An application category
- An IP address
- A URL
- A protocol
- An interface
For example, a WAN Rule may specify that for the Skype application, use the WAN Policy that sends sessions to the link with the lowest latency.
Creating a WAN Rule
To create a WAN Rule:
- Go to Settings -> Routing -> WAN Rules and click New Rule.
- Enter a description (e.g. messaging apps).
- Under Add Condition, select a condition type (e.g. Application Category).
- Specify an Operator (e.g. Is [==]).
- Enter a Value (e.g. Messaging).
- Click Add Condition.
Note: you can add multiple conditions to the rule.
- Under Apply the following action, choose WAN Policy.
- Click Create Rule.
- After creating the new rule, click Save to confirm your changes.
Sorting WAN Rules
WAN rules operate just like regular rules as described in the Rules documentation. This means that rules are evaluated from top to bottom, and the first rule that successfully meets the condition is processed.
Note: If the path defined by the WAN Policy is not available and cannot be used, the rule is skipped and subsequent rules are evaluated.Follow