• DrayOS 4, imported, firewall_rule, url_filter, dns_filter, lan_clients, youtube_block

Block YouTube Service for All the LAN Clients (DrayOS4)

1. Create a Keyword Object Profile at Objects Setting >> Keyword Object. Click on an index number available.

  1. Enter Profile Name
  2. For Contents, enter 3 keywords, youtube.com, ytimg.com and googlevideo.com, separated by a single space.
  3. Click OK to save.
a screenshot of DrayOS Keyword object

2. Create a URL Content Filter Profile at CSM >> URL Content Filter Profile. Click a Profile number.

  1. Enter Profile Name
  2. Select Priority as "Either: URL Access Control First"
  3. Enable URL Access Control
  4. Select "Block" for Action
  5. Click Edit and select the Keyword Object created in Step 1
  6. Click OK to save
a creenshot of DrayOS URL Content filter profile

3. Create a DNS Profile at CSM >> DNS Filter. Click on a Profile number in DNS Filter Profile Table.

  1. Enter Profile Name
  2. Select URL Content Filter (UCF) as the profile created in Step 2
  3. Click OK to save
a screenshot of DrayOS DNS Filter setup

4. To apply the URL Content Filter and DNS Filter to the Firewall Rule, go to Firewall >> General Setup >> Default Rule, select URL Content Filter as the profile created in Step 2, and DNS Filter as the profile created in Step 3. Then click OK to apply

a screenshot of DrayOS Firewall Default rule

5. With the settings above, and clear the browser's history and DNS cache, the clients on the router's LAN will not be able to access the YouTube website and App.