We have launched the new version of the DrayTek website, and this content is no longer being maintained.
You will find more information on our new site; however, we will keep this page for a few months.

How to use Country Object in Route Policy?

Vigor routers can be set to forward the traffic through multiple outgoing interfaces, such as WAN, VPN and LAN. Network administrator can create the Route Policy or Static Route to regulate the forwarding interface for specific traffic.

As there are some region limited websites and resources. Such as Netflix provides vary contents for the users in different countries, Costco website may provide the different merchandise base on the locations that customers live, BBC news only provide some of the video resource to the IP addresses within UK, some online game only let the players to choose the servers near their residences. To cross these restrictions, we need to make our traffic go through the gateway in the specific country or location.

Therefore, Vigor routers provide Country Object in Route Policy so that the traffic can be sent via interface at specific location. This note demonstrates how to set up the Route Policy to forward the traffic to UK through the WAN1, and the traffic to US through VPN tunnel.


1. Create Country Object, go to Objects Setting >> Country Object page,

  1. Click an available index
  2. Give a profile Name and select country
Selecting countries to create a    

2. Create Route Policy, go to Routing >> Load-Balance/Route Policy page,

  1. Click an available index
  2. Select Country Object as Destination of Criteria
  3. Select WAN1 as outgoing Interface
Creating a Route Policy    

3. Similarly, repeat the step 1 and 2, to configure a route policy to regulate traffic to US via VPN

Creating a policy route for traffic destined to the U.S.    

We can use trace route to verify routing path. Assume that router WAN1 gateway IP is, and the VPN remote gateway IP (LAN IP of the remote router in US) is

Checking the IP address of WAN interface    

Trace bbc.com in UK, the traffic will go through WAN1 gateway:

Verifying the Route Policy settings by trace route command    

Trace netflix.com in US, the traffic will go through VPN remote gateway:

Verifying the Route Policy settings by trace route to netflix    
Was this article helpful?
65How to use Country Object in Route Policy? has been viewed------ 65 ------times.