< Knowledge Base

Prioritize VPN Traffic by QoS

Published On: Sep 20, 2018 

This article demonstrates how to set up Quality of Service (QoS) to reserve an amount of bandwidth for the VPN traffic all the time, in order to ensure the VPN performance.

1. Go to Bandwidth Management >> Quality of Service, click Edit on a class rule.

2. Name this class, and click Add to add a new rule.

a screenshot of QoS setup on DrayOS

3. For LAN-to-LAN VPN, edit the rule as follows:

  1. Check ACT (or Enable)
  2. Click Edit for Local Address, and configure the address as the IP of the local network.
  3. Click Edit for Remote Address, and configure the address as the IP of the remote network.
  4. Leave Service Type as ANY.
  5. Click OK to save.
       
a screenshot of QoS setup on DrayOS

For Remote Dial-in VPN client (Host-to-LAN VPN), edit the rule as follows:

  1. Enable ACT. (or Enable)
  2. Click Edit for Local Address, configure the local address as the LAN IP which VPN clients will obtain.
  3. Leave Remote Address and Service Type as Any.
  4. Click OK to save the profile.
a screenshot of QoS setup on DrayOS

5. Go back to the QoS General Setup, configure the WAN interface where VPN is on as follows: (For older versions, click Setup on the WAN interface to edit)

  1. Enable the QoS Control, and select which direction to which you would like QoS to apply.
  2. Enter the actual Inbound and Outbound bandwidth of the WAN interface. If you don't know the actual bandwidth, you may use online speed test page such as http://www.speedtest.net. For DSL WAN, please refer to Setting up DSL WAN Bandwidth for QoS
  3. Enter a ratio of bandwidth that you would like to reserve for VPN connection.
  4. Click OK to save.

6. You may go back to the QoS main page, click Status on the WAN interface to check if the VPN traffic is classified correctly.

Was this helpful?     


Related Articles