• DrayOS 4, imported, firewall_rule, url_filter, dns_filter, keyword_object, web_access_control

Block most of the websites except for a few only (DrayOS4)

1. Create Keyword Object for the company's homepage: Go to Objects Setting >> Keyword Object, click on an Index number to edit.

  1. Enter profile Name
  2. In Contents, enter the keyword of the website's URL of which you would like to pass.
  3. Click OK to save.   

2. Similarly, create another Keyword Object for Google services.

3. Create a URL Filter to pass websites of which URL contains the keyword: Go to CSM > URL Content Filter Profile, click on a profile Index to edit.

  1. Enter Profile Name.
  2. Set Priority to "Either: URL Access Control First"
  3. Enable URL Access Control
  4. Set URL Access Control Action to "Pass"
  5. Click Edit and, in the pop-up window, select the Keyword Objects of the URL you would like to pass.
  6. Click OK to save the profile. 

4. Create a DNS Filter profile to filter HTTPS websites: Go to CSM >> DNS Filter Profile, click on a profile number to edit,

  1. Enter Profile Name.
  2. Set UCF (URL Content Filter) to the profile created in Step 3.
  3. Click OK to save.

5. Apply the URL Filter to Firewall Filter Rule: Go to Firewall >> Filter Setup >> Data Filter Set (Set 2), click on a Filter Rule Index to edit.

  1. Enable this Filter Rule
  2. Set Direction to "LAN/RT/VPN->WAN."
  3. (optional) Edit Source IP if you'd like to apply this rule to specific IP range only.
  4. Set Filter Action to "Pass Immediately"
  5. Set URL Content Filter to the profile created in Step3
  6. Click OK to apply  

6. After the above configuration, the router will block most of the websites.

However, the websites of which URL contains the specific keywords are still available.