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.

Firewall & Content Security Management

     All of the Vigor Router has built in firewall features which allow Network Administrator to control the incoming and outgoing traffic of the network, thus to enhance the network security, and also prevent network resources being wasted on inappropriate applications.


Firewall Rules of Vigor Router

     On Vigor Router, we can have more than 80 firewall rules, each of them will apply to the packets that match the filtering conditions of it, which can be direction, source IP address, destination IP address, port number, or/and protocol. The sequence of the firewall rule matters, because a packet can only follow one rule. If there is more than one rule applies to the packet, only the rule with the smallest index number will take effect.
     If the packet does not match any of the criteria in all the filter rules, it will follow the default rule, which is “pass” in factory default configuration. The default policy can be configured at Firewall >> General Setup >> “Default Rule” Tab.


Filter Set & Filter Rules     

     On Firewall >> Filter Setup page, we will see 12 Filter Sets, and each of them contains 7 filter rules. By default, Filter Set 1 is used for “Call Filtering”, which means the filter rules in Filter Set 1 will only be active when there is no Internet connection established, and they will only apply to the outgoing packets, this can be used to restricts the traffic which will dial up a WAN connection. Filter Set 2 is the default Data Filter which applies to the general cases.

    To add a general filter rule, go to Firewall >> Filter Setup, click on Set 2 to enter the default Data Filter Set. In Filter set 2, you will see there are 7 filter rules. Rule 1 is a pre-defined rule to block the outgoing NetBIOS traffic, and we usually start filter configuration from rule number 2.


Configuring Filter Rules

     By clicking on the index number, we will enter the rule configuration page. The configuration can be divided into 4 parts. On the top is where we can give some comments about the filter rule, and bind this rule with schedule profiles (which is optional).

     The second part is the filtering conditions, which defines which packet should follow this rule. Here we may set up one or more conditions, leaving it as “Any” will make this rule apply to all the packets. For example, to set a policy for a LAN host, the Direction should be “LAN/DMZ/RT/VPN -> WAN”, and the Source IP should be the LAN IP address of that LAN host.

     The third part is the Action of this filter rule, it can either be “block” or “pass”. By choosing “block”, the router will discard all the packets that match the above criteria. If it is set to “pass”, the router will accept those packets, however, we can still apply application filters to do content inspection of the packet and then decide to discard the packets if it contains certain information in the data.

     Finally, is the Content Security Management (CSM) profiles. These are the application filters that allows Network Administrator to control the LAN clients’ access to certain websites or restrict usage of certain apps. The following paragraph will describe the difference between them.


     After you use up all the filter rules in Filter Set 2, you may specify the “Next Data Filter Set” at the bottom of the page, then have more filter rules in the selected set.

The Content Security Management (CSM)

     At the bottom of a filter rule configuration, there are four options, which are APP Enforcement, URL Content Filter, Web Content Filter, and DNS Filter. These together are called Content Security Management (CSM).

     APP Enforcement is for controlling the use of apps. By tracing the packet patterns and comparing to the database, the router can recognize the apps that the LAN clients are using, and Network Administrator can set up policies to block the use of certain apps. The below example is a profile to block the use of BitTorrent.


     URL Content Filter is for filtering websites. By checking the hostname in the HTTP packets, the router can find out to which website the LAN clients are trying to access. URL Content Filter can either be used as a black list, to block the packets that going to certain URL; or be used as a white list, to pass only the packets that are going to the allowed URLs. The example below is a profile to block the access to websites of which the URL contains keyword “facebook.com”.

      Web Content Filter is also for filtering the websites, however not by URL keyword, but by the category of the websites. By using the URL categorization service from CYREN (license-required), the router can learn which kind of website is the client trying to access, and Network Administrator control the access to all the websites that fall into a certain category without specifying each of their URL. The example below is a Web Content Filter profile that will block all the social networking websites.


     DNS Filter is an extension of URL Content Filter and Web Content Filter to make sure the HTTPS (encrypted) websites will also be filtered. DNS Filter allows Network Administrator to block or pass the DNS queries that contain certain keywords, thus to control the access to HTTPS websites. See How to block a HTTPS website by URL Filter and DNS Filter? about creating and applying a DNS Filter profile in Firewall.


DoS Defense

    Vigor Router also provides Denial of Service (DoS) Defense to protect the network resources being exhausted by fake connection requests. This can be enabled from Firewall >> Defense Setup page, Network Administrator may also customize the policy and threshold of each flooding attack.



    In summary, Vigor Router has built in a comprehensive firewall to enhance the security level of your network. You may configure the IP-based policies to control the access of traffic from a certain source or to a certain destination, CSM (content security management) can be added to restrict the use of apps or access to websites, you can also enable DoS defense to protect the network from flooding attacks.

See Also

Deco image

Improve Network Security

The protections you can take with Vigor Router to keep the network safe

Deco image

Local Network Management

The LAN configuration of Vigor Router, including TCP/IP settings, DHCP options, and VLAN setup.

Deco image

Routing Fundamentals

The basic concept of routing and the types of routing supported by Vigor Router.

Deco image

Router Maintenance

This article introduces the basic operations that will help the reader to get started with Vigor Router.