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 block YouTube with Web Content Filter (WCF) and DNS Filter?

This document is going to demonstrate how to use Web Content Filter (WCF) to block the YouTube. Nowadays, YouTube transmits through HTTPS, we will also need to set the WCF with DNS filter in order to block HTTP traffic.


1. Add a WCF profile: Go to CSM >> Web Content Filter,

a. Make sure that your router have the activated Cyren license. (Check How to Register MyVigor Router and Activate a Free Web Content Filter (WCF) Trial License? if you don't have a license yet.)
b. Click an available index to configure a new profile.


2. Configure the WCF profile as follows:

a. Enter a Profile Name.
b. Set Action type to "Block".
c. Select the category of websites you would like to block, YouTube is categorized to Leisure >> Entertainment and Computer-Internet >> Streaming, Downloads. (The category of the websites can be checked on http://www.cyren.com/url-category-check.html .)


3. To make sure the HTTPS websites will be filtered as well, it is necessary to use WCF combine with DNS Filter. Go to CSM >> DNS Filter, click an available index.


a. Enter a Profile Name.
b. Select the WCF profile created in previous step as WCF.
c. Click OK to save.


4. To Apply the WCF and DNS Filter, go to Firewall >> Filter Setup >> Set 2, click an available Filter Rule,

a. Enable the Filter Rule.
b. Edit Source IP if you would like to block the specific IP from YouTube.
c. Select Filter as Pass Immediately.
d. Select WCF profile created in the previous step as Web Content Filter.
e. Select DNS Filter profile created in the previous step as DNS Filter.
f. Click OK to save.


5. After finishing the above settings, the YouTube will be blocked by WCF and DNS Filter with Vigor Router.




If the WCF does not work as expected, please take the following steps:

  • Clear browser's cookies and history.
  • Clear the DNS cache on the computer. For Windows users, this can be done by typing the command "ipconfig/flushdns" in command prompt.
  • Make sure the computer's default gateway is Vigor Router. For Windows users, this information can be checked by typing command "ipconfig" in command prompt.
  • Check the DNS server of the computer: If it is an internal DNS server, please make sure the internal DNS server's gateway is set to Vigor Router. If the server is your Vigor Router, please enable DNS Filter Local setting in CSM >> DNS Filter instead of a Firewall Rule, and please note that DNS Filter Local Setting will apply to all LAN clients who use the router as DNS server. (Learn more about What is the difference between DNS Filter Profile and DNS Filter Local Setting?)



See also:

Was this article helpful?
39How to block YouTube with Web Content Filter (WCF) and DNS Filter? has been viewed------ 39 ------times.