Introduction to Route Policy

This document introduces the Route Policy (a.k.a., routing policy, or policy-based routing). This feature allows the network administrator to manage the outbound route base on the IP addr., port number, country or domain name in the packet.

The Route Policy always has higher priority than Default Route and Auto Load Balance set in WAN >> General Setup, and always has lower priority than the Firewall Rules. The administrator may also define a priority to the rules.

Note: Route Policy function is used to route traffic originating from LAN clients and remote dial-in (VPN) clients. To set up routing for traffic originating from the router itself (such as LAN-to-LAN VPN and TR-069 connections), and non-directly connected networks (such as networks behind other routers, and remote VPN networks), you will need to use the Static Route function instead.

To configure Route Policy, go to Routing >> Load Balance/Route Policy. The following image is a screen-shot of Route policy list. It shows whether the policy is enabled, the criteria to match, and through which the interface should the traffic go if the criteria matched, and also its priority.

a screenshot of DrayOS Poliy-based routing list

To set up a Route Policy, click on an Index number. At the bottom of the page, there are two configuration modes: the Wizard Mode provides a simple and basic configuration; while Advance Mode allows more options.

1. First, set the criteria of the packets to apply this policy.

a screenshot of DrayOS Poliy-based routing setup

The above configuration is an example that if a packet is sent from192.168.1.10~192.168.1.100 to 8.8.8.8, no matter what the protocol or destination port is, it will follow this route policy.

2. Next, we select an interface and gateway through which should the packet go if it matches the criteria.

a screenshot of DrayOS Poliy-based routing setup

The above configuration is an example that if a packet matches the criteria of this Route Policy, it will be sent to the default gateway then the destination through VPN1.

3. In Advance Mode, if the interface is WAN or VPN, there are some more options:

a screenshot of DrayOS Poliy-based routing setup

Published On: May 12, 2016 

Was this helpful?     


Related Articles